summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-19 10:10:32 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-19 10:10:32 (GMT)
commitaedd2899c27c71dde84837fab9ac119425b7f4dc (patch)
tree8d80e0f350e9d35681b8d61ff1fadc1b12cad983 /Lib/idlelib/EditorWindow.py
parent7504302875d4584f7f6059609783dba1f2597669 (diff)
downloadcpython-aedd2899c27c71dde84837fab9ac119425b7f4dc.zip
cpython-aedd2899c27c71dde84837fab9ac119425b7f4dc.tar.gz
cpython-aedd2899c27c71dde84837fab9ac119425b7f4dc.tar.bz2
#6075: make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by Kevin Walzer and Ned Deily.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index a06c341..b89214c 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -387,7 +387,7 @@ class EditorWindow(object):
underline, label = prepstr(label)
menudict[name] = menu = Menu(mbar, name=name)
mbar.add_cascade(label=label, menu=menu, underline=underline)
- if macosxSupport.runningAsOSXApp():
+ if macosxSupport.isCarbonAquaTk(self.root):
# Insert the application menu
menudict['application'] = menu = Menu(mbar, name='apple')
mbar.add_cascade(label='IDLE', menu=menu)