]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clove...
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 20 Oct 2020 17:17:17 +0000 (10:17 -0700)
committerGitHub <noreply@github.com>
Tue, 20 Oct 2020 17:17:17 +0000 (10:17 -0700)
(cherry picked from commit 6d883fbe14751b58d9ed2fd708322613d8931035)

Co-authored-by: Steve Dower <steve.dower@python.org>
Misc/NEWS.d/next/Windows/2020-10-20-13-19-42.bpo-38439.eMLi-t.rst [new file with mode: 0644]
PC/icons/idlex150.png [new file with mode: 0644]
PC/icons/idlex44.png [new file with mode: 0644]
PC/layout/support/appxmanifest.py

diff --git a/Misc/NEWS.d/next/Windows/2020-10-20-13-19-42.bpo-38439.eMLi-t.rst b/Misc/NEWS.d/next/Windows/2020-10-20-13-19-42.bpo-38439.eMLi-t.rst
new file mode 100644 (file)
index 0000000..acbc80c
--- /dev/null
@@ -0,0 +1 @@
+Updates the icons for IDLE in the Windows Store package.
diff --git a/PC/icons/idlex150.png b/PC/icons/idlex150.png
new file mode 100644 (file)
index 0000000..806cb0c
Binary files /dev/null and b/PC/icons/idlex150.png differ
diff --git a/PC/icons/idlex44.png b/PC/icons/idlex44.png
new file mode 100644 (file)
index 0000000..3ef66e6
Binary files /dev/null and b/PC/icons/idlex44.png differ
index 9a7439d027126da542baff39fdd195d593899b82..747c97a00699dd70d5a4c3afac41676e44d7988a 100644 (file)
@@ -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():