Skip to content

Commit d12afba

Browse files
bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817)
(cherry picked from commit 6d883fb) Co-authored-by: Steve Dower <[email protected]>
1 parent b948d13 commit d12afba

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updates the icons for IDLE in the Windows Store package.

PC/icons/idlex150.png

20.1 KB
Loading

PC/icons/idlex44.png

3.39 KB
Loading

PC/layout/support/appxmanifest.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
IDLE_VE_DATA = dict(
6868
DisplayName="IDLE (Python {})".format(VER_DOT),
6969
Description="IDLE editor for Python {}".format(VER_DOT),
70-
Square150x150Logo="_resources/pythonwx150.png",
71-
Square44x44Logo="_resources/pythonwx44.png",
70+
Square150x150Logo="_resources/idlex150.png",
71+
Square44x44Logo="_resources/idlex44.png",
7272
BackgroundColor="transparent",
7373
)
7474

@@ -498,6 +498,11 @@ def get_appx_layout(ns):
498498
src = icons / "pythonwx{}.png".format(px)
499499
yield f"_resources/pythonwx{px}.png", src
500500
yield f"_resources/pythonwx{px}$targetsize-{px}_altform-unplated.png", src
501+
if ns.include_idle and ns.include_launchers:
502+
for px in [44, 150]:
503+
src = icons / "idlex{}.png".format(px)
504+
yield f"_resources/idlex{px}.png", src
505+
yield f"_resources/idlex{px}$targetsize-{px}_altform-unplated.png", src
501506
yield f"_resources/py.png", icons / "py.png"
502507
sccd = ns.source / SCCD_FILENAME
503508
if sccd.is_file():

0 commit comments

Comments
 (0)