bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (… · python/cpython@7eebbbd

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)]