Commit 59e824b4 authored by Ned Deily's avatar Ned Deily Committed by Benjamin Peterson

bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. Original...

bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. Original patch by Kevin Walzer. (GH-12034)
parent 49778ada
......@@ -1560,7 +1560,7 @@ def main():
if system() == 'Windows':
iconfile = os.path.join(icondir, 'idle.ico')
root.wm_iconbitmap(default=iconfile)
elif TkVersion >= 8.5:
elif TkVersion >= 8.5 and sys.platform != 'darwin':
ext = '.png' if TkVersion >= 8.6 else '.gif'
iconfiles = [os.path.join(icondir, 'idle_%d%s' % (size, ext))
for size in (16, 32, 48)]
......
Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin
Walzer.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment