summaryrefslogtreecommitdiffstats
path: root/PC/layout
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-20 17:20:05 (GMT)
committerGitHub <noreply@github.com>2020-10-20 17:20:05 (GMT)
commitd12afba507990b6d75f701b398d4f342576be5d7 (patch)
tree7655b4c47cbd9fce32320adacb17254daf584200 /PC/layout
parentb948d13ec076e757b7f6904aa67df2f36e4671b7 (diff)
downloadcpython-d12afba507990b6d75f701b398d4f342576be5d7.zip
cpython-d12afba507990b6d75f701b398d4f342576be5d7.tar.gz
cpython-d12afba507990b6d75f701b398d4f342576be5d7.tar.bz2
bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817)
(cherry picked from commit 6d883fbe14751b58d9ed2fd708322613d8931035) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'PC/layout')
-rw-r--r--PC/layout/support/appxmanifest.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/PC/layout/support/appxmanifest.py b/PC/layout/support/appxmanifest.py
index 9a7439d..747c97a 100644
--- a/PC/layout/support/appxmanifest.py
+++ b/PC/layout/support/appxmanifest.py
@@ -67,8 +67,8 @@ PIP_VE_DATA = dict(
IDLE_VE_DATA = dict(
DisplayName="IDLE (Python {})".format(VER_DOT),
Description="IDLE editor for Python {}".format(VER_DOT),
- Square150x150Logo="_resources/pythonwx150.png",
- Square44x44Logo="_resources/pythonwx44.png",
+ Square150x150Logo="_resources/idlex150.png",
+ Square44x44Logo="_resources/idlex44.png",
BackgroundColor="transparent",
)
@@ -498,6 +498,11 @@ def get_appx_layout(ns):
src = icons / "pythonwx{}.png".format(px)
yield f"_resources/pythonwx{px}.png", src
yield f"_resources/pythonwx{px}$targetsize-{px}_altform-unplated.png", src
+ if ns.include_idle and ns.include_launchers:
+ for px in [44, 150]:
+ src = icons / "idlex{}.png".format(px)
+ yield f"_resources/idlex{px}.png", src
+ yield f"_resources/idlex{px}$targetsize-{px}_altform-unplated.png", src
yield f"_resources/py.png", icons / "py.png"
sccd = ns.source / SCCD_FILENAME
if sccd.is_file():