bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. O… · python/cpython@59e824b (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 59e824b
authored and
committed
bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. Original patch by Kevin Walzer. (GH-12034)
File tree
2 files changed
lines changed
2 files changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1560,7 +1560,7 @@ def main(): | ||
1560 | 1560 | if system() == 'Windows': |
1561 | 1561 | iconfile = os.path.join(icondir, 'idle.ico') |
1562 | 1562 | root.wm_iconbitmap(default=iconfile) |
1563 | -elif TkVersion >= 8.5: | |
1563 | +elif TkVersion >= 8.5 and sys.platform != 'darwin': | |
1564 | 1564 | ext = '.png' if TkVersion >= 8.6 else '.gif' |
1565 | 1565 | iconfiles = [os.path.join(icondir, 'idle_%d%s' % (size, ext)) |
1566 | 1566 | for size in (16, 32, 48)] |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1 | +Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin | |
2 | +Walzer. |