Skip to content

Commit 7eebbbd

Browse files
ned-deilyterryjreedy
authored andcommitted
bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031)
Patch by Kevin Walzer.
1 parent 4b219ce commit 7eebbbd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Lib/idlelib/pyshell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ def main():
14951495
if system() == 'Windows':
14961496
iconfile = os.path.join(icondir, 'idle.ico')
14971497
root.wm_iconbitmap(default=iconfile)
1498-
else:
1498+
elif not macosx.isAquaTk():
14991499
ext = '.png' if TkVersion >= 8.6 else '.gif'
15001500
iconfiles = [os.path.join(icondir, 'idle_%d%s' % (size, ext))
15011501
for size in (16, 32, 48)]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin
2+
Walzer.

0 commit comments

Comments
 (0)