changeset: 83896:e134714e3b30 branch: 2.7 parent: 83893:fa9c0c651f78 user: Ned Deily date: Wed May 22 15:16:17 2013 -0700 files: Lib/idlelib/Bindings.py Lib/idlelib/EditorWindow.py Lib/idlelib/PyShell.py Misc/ACKS Misc/NEWS description: Issue #17532: Always include Options menu for IDLE on OS X. Patch by Guilherme Simões. diff -r fa9c0c651f78 -r e134714e3b30 Lib/idlelib/Bindings.py --- a/Lib/idlelib/Bindings.py Wed May 22 13:25:41 2013 -0700 +++ b/Lib/idlelib/Bindings.py Wed May 22 15:16:17 2013 -0700 @@ -98,6 +98,10 @@ # menu del menudefs[-1][1][0:2] + # Remove the 'Configure' entry from the options menu, it is in the + # application menu as 'Preferences' + del menudefs[-2][1][0:2] + default_keydefs = idleConf.GetCurrentKeySet() del sys diff -r fa9c0c651f78 -r e134714e3b30 Lib/idlelib/EditorWindow.py --- a/Lib/idlelib/EditorWindow.py Wed May 22 13:25:41 2013 -0700 +++ b/Lib/idlelib/EditorWindow.py Wed May 22 15:16:17 2013 -0700 @@ -467,7 +467,6 @@ ] if macosxSupport.runningAsOSXApp(): - del menu_specs[-3] menu_specs[-2] = ("windows", "_Window") diff -r fa9c0c651f78 -r e134714e3b30 Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Wed May 22 13:25:41 2013 -0700 +++ b/Lib/idlelib/PyShell.py Wed May 22 15:16:17 2013 -0700 @@ -844,7 +844,6 @@ ] if macosxSupport.runningAsOSXApp(): - del menu_specs[-3] menu_specs[-2] = ("windows", "_Window") diff -r fa9c0c651f78 -r e134714e3b30 Misc/ACKS --- a/Misc/ACKS Wed May 22 13:25:41 2013 -0700 +++ b/Misc/ACKS Wed May 22 15:16:17 2013 -0700 @@ -941,6 +941,7 @@ Ionel Simionescu Kirill Simonov Nathan Paul Simons +Guilherme Simões Ravi Sinha Janne Sinkkonen Ng Pheng Siong diff -r fa9c0c651f78 -r e134714e3b30 Misc/NEWS --- a/Misc/NEWS Wed May 22 13:25:41 2013 -0700 +++ b/Misc/NEWS Wed May 22 15:16:17 2013 -0700 @@ -28,6 +28,9 @@ - Issue #14146: Highlight source line while debugging on Windows. +- Issue #17532: Always include Options menu for IDLE on OS X. + Patch by Guilherme Simões. + Tests -----