| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7ad3add commit abdfb3b
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,9 @@ | |||
| 1 | + The IDLE icons are from https://bugs.python.org/issue1490384 | ||
| 2 | + | ||
| 3 | + Created by Andrew Clover. | ||
| 4 | + | ||
| 5 | + The original sources are available from Andrew's website: | ||
| 6 | + https://www.doxdesk.com/software/py/pyicons.html | ||
| 7 | + | ||
| 8 | + Various different formats and sizes are available at this GitHub Pull Request: | ||
| 9 | + https://github.com/python/cpython/pull/17473 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1485,9 +1485,14 @@ def main(): | |||
| 1485 | 1485 | iconfile = os.path.join(icondir, 'idle.ico') | |
| 1486 | 1486 | root.wm_iconbitmap(default=iconfile) | |
| 1487 | 1487 | elif not macosx.isAquaTk(): | |
| 1488 | - ext = '.png' if TkVersion >= 8.6 else '.gif' | ||
| 1488 | + if TkVersion >= 8.6: | ||
| 1489 | + ext = '.png' | ||
| 1490 | + sizes = (16, 32, 48, 256) | ||
| 1491 | + else: | ||
| 1492 | + ext = '.gif' | ||
| 1493 | + sizes = (16, 32, 48) | ||
| 1489 | 1494 | iconfiles = [os.path.join(icondir, 'idle_%d%s' % (size, ext)) | |
| 1490 | - for size in (16, 32, 48)] | ||
| 1495 | + for size in sizes] | ||
| 1491 | 1496 | icons = [PhotoImage(master=root, file=iconfile) | |
| 1492 | 1497 | for iconfile in iconfiles] | |
| 1493 | 1498 | root.wm_iconphoto(True, *icons) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,2 @@ | |||
| 1 | + Add a 256×256 pixel IDLE icon to support more modern environments. Created by Andrew Clover. | ||
| 2 | + Delete the unused macOS idle.icns icon file. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1592,6 +1592,7 @@ | |||
| 1592 | 1592 | <Content Include="idlelib\Icons\idle_32.png" /> | |
| 1593 | 1593 | <Content Include="idlelib\Icons\idle_48.gif" /> | |
| 1594 | 1594 | <Content Include="idlelib\Icons\idle_48.png" /> | |
| 1595 | + <Content Include="idlelib\Icons\idle_256.png" /> | ||
| 1595 | 1596 | <Content Include="idlelib\Icons\minusnode.gif" /> | |
| 1596 | 1597 | <Content Include="idlelib\Icons\openfolder.gif" /> | |
| 1597 | 1598 | <Content Include="idlelib\Icons\plusnode.gif" /> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments