diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-07-30 16:44:55 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-07-30 16:44:55 -0400 |
commit | cd111d5af89cb20f671498bb8ae6cbd4a43dfde4 (patch) | |
tree | 1f1b43971dbfe79f03f7c0d2e8d647b66ed21fb5 /Lib/idlelib/macosxSupport.py | |
parent | e63a329c186e64e72b3e09b448a49612ec2b5e4a (diff) | |
parent | 659fcb0a8dd1c3733c609406522d95aa663f2eaa (diff) | |
download | cpython-git-cd111d5af89cb20f671498bb8ae6cbd4a43dfde4.tar.gz |
Merge with 3.5
Diffstat (limited to 'Lib/idlelib/macosxSupport.py')
-rw-r--r-- | Lib/idlelib/macosxSupport.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py index 58137492f9..77330cf91a 100644 --- a/Lib/idlelib/macosxSupport.py +++ b/Lib/idlelib/macosxSupport.py @@ -145,7 +145,7 @@ def overrideRootMenu(root, flist): root.configure(menu=menubar) menudict = {} - menudict['windows'] = menu = Menu(menubar, name='windows') + menudict['windows'] = menu = Menu(menubar, name='windows', tearoff=0) menubar.add_cascade(label='Window', menu=menu, underline=0) def postwindowsmenu(menu=menu): @@ -191,7 +191,8 @@ def overrideRootMenu(root, flist): if isCarbonTk(): # for Carbon AquaTk, replace the default Tk apple menu - menudict['application'] = menu = Menu(menubar, name='apple') + menudict['application'] = menu = Menu(menubar, name='apple', + tearoff=0) menubar.add_cascade(label='IDLE', menu=menu) Bindings.menudefs.insert(0, ('application', [ |