diff options
author | 2020-10-20 15:54:13 +0100 | |
---|---|---|
committer | 2020-10-20 15:54:13 +0100 | |
commit | 6d883fbe14751b58d9ed2fd708322613d8931035 (patch) | |
tree | f132a35405d89213646e8476ff8e80e749b71700 /PC | |
parent | bpo-41192: Clarify the sys module's description of the auditing feature (GH-2... (diff) | |
download | cpython-6d883fbe14751b58d9ed2fd708322613d8931035.tar.gz cpython-6d883fbe14751b58d9ed2fd708322613d8931035.tar.bz2 cpython-6d883fbe14751b58d9ed2fd708322613d8931035.zip |
bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817)
Diffstat (limited to 'PC')
-rw-r--r-- | PC/icons/idlex150.png | bin | 0 -> 20537 bytes | |||
-rw-r--r-- | PC/icons/idlex44.png | bin | 0 -> 3473 bytes | |||
-rw-r--r-- | PC/layout/support/appxmanifest.py | 9 |
3 files changed, 7 insertions, 2 deletions
diff --git a/PC/icons/idlex150.png b/PC/icons/idlex150.png Binary files differnew file mode 100644 index 0000000000..806cb0c8aa --- /dev/null +++ b/PC/icons/idlex150.png diff --git a/PC/icons/idlex44.png b/PC/icons/idlex44.png Binary files differnew file mode 100644 index 0000000000..3ef66e6c68 --- /dev/null +++ b/PC/icons/idlex44.png diff --git a/PC/layout/support/appxmanifest.py b/PC/layout/support/appxmanifest.py index 9a7439d027..747c97a006 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(): |