diff options
author | Ned Deily <nad@acm.org> | 2011-01-18 04:33:22 +0000 |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2011-01-18 04:33:22 +0000 |
commit | 4a70550c1c3fb74985a2f4dd91a9a9cdb9e2fed6 (patch) | |
tree | 3e9e9af9e175c6298bf932f74b5407b9c23b8c72 /Lib/idlelib/EditorWindow.py | |
parent | 8c83db03a49ca21322246d651863f5bb2a72b56a (diff) | |
download | cpython-git-4a70550c1c3fb74985a2f4dd91a9a9cdb9e2fed6.tar.gz |
Merged revisions 87394 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87394 | georg.brandl | 2010-12-19 02:10:32 -0800 (Sun, 19 Dec 2010) | 1 line
#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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 9e7573d644..def75904bd 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -392,7 +392,7 @@ class EditorWindow(object): 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) |