Skip to content

Commit

Permalink
bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (p…
Browse files Browse the repository at this point in the history
…ythonGH-12031)

 Patch by Kevin Walzer.
  • Loading branch information
ned-deily authored and terryjreedy committed Mar 1, 2019
1 parent 4b219ce commit 7eebbbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/idlelib/pyshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ def main():
if system() == 'Windows':
iconfile = os.path.join(icondir, 'idle.ico')
root.wm_iconbitmap(default=iconfile)
else:
elif not macosx.isAquaTk():
ext = '.png' if TkVersion >= 8.6 else '.gif'
iconfiles = [os.path.join(icondir, 'idle_%d%s' % (size, ext))
for size in (16, 32, 48)]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin
Walzer.

0 comments on commit 7eebbbd

Please sign in to comment.