summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2019-03-01 22:53:50 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-03-01 22:53:50 (GMT)
commit7eebbbd5b3907447eddadf5cb7cb1cc9230d15b2 (patch)
tree290216eb89083742a66fc830dd5caf090dcb060d /Lib/idlelib
parent4b219ce81ed04234648a4ce4f0cb0865818abb38 (diff)
downloadcpython-7eebbbd5b3907447eddadf5cb7cb1cc9230d15b2.zip
cpython-7eebbbd5b3907447eddadf5cb7cb1cc9230d15b2.tar.gz
cpython-7eebbbd5b3907447eddadf5cb7cb1cc9230d15b2.tar.bz2
bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031)
Patch by Kevin Walzer.
Diffstat (limited to 'Lib/idlelib')
-rwxr-xr-xLib/idlelib/pyshell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py
index ea49aff..11bafdb 100755
--- a/Lib/idlelib/pyshell.py
+++ b/Lib/idlelib/pyshell.py
@@ -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)]