mirror of
https://github.com/python/cpython.git
synced 2026-06-24 03:53:12 -04:00
bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031)
Patch by Kevin Walzer.
This commit is contained in:
committed by
Terry Jan Reedy
parent
4b219ce81e
commit
7eebbbd5b3
@@ -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)]
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin
|
||||
Walzer.
|
||||
Reference in New Issue
Block a user