Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13)

Unified Diff: Lib/idlelib/macosxSupport.py

Issue 13884: IDLE 2.6.5 Recent Files undocks
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/idlelib/help.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/idlelib/macosxSupport.py Mon Jul 27 07:47:21 2015 -0700
+++ b/Lib/idlelib/macosxSupport.py Wed Jul 29 12:35:31 2015 -0700
@@ -147,7 +147,7 @@
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):
@@ -187,7 +187,8 @@
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', [
« no previous file with comments | « Lib/idlelib/help.txt ('k') | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+