Commit 7f0882c9 authored by Ned Deily's avatar Ned Deily

Issue #17532: Always include Options menu for IDLE on OS X.

Patch by Guilherme Simões.
parent 67246127
...@@ -98,6 +98,10 @@ if macosxSupport.runningAsOSXApp(): ...@@ -98,6 +98,10 @@ if macosxSupport.runningAsOSXApp():
# menu # menu
del menudefs[-1][1][0:2] 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() default_keydefs = idleConf.GetCurrentKeySet()
del sys del sys
...@@ -463,7 +463,6 @@ class EditorWindow(object): ...@@ -463,7 +463,6 @@ class EditorWindow(object):
] ]
if macosxSupport.runningAsOSXApp(): if macosxSupport.runningAsOSXApp():
del menu_specs[-3]
menu_specs[-2] = ("windows", "_Window") menu_specs[-2] = ("windows", "_Window")
......
...@@ -822,7 +822,6 @@ class PyShell(OutputWindow): ...@@ -822,7 +822,6 @@ class PyShell(OutputWindow):
] ]
if macosxSupport.runningAsOSXApp(): if macosxSupport.runningAsOSXApp():
del menu_specs[-3]
menu_specs[-2] = ("windows", "_Window") menu_specs[-2] = ("windows", "_Window")
......
...@@ -1130,6 +1130,7 @@ Michael Simcich ...@@ -1130,6 +1130,7 @@ Michael Simcich
Ionel Simionescu Ionel Simionescu
Kirill Simonov Kirill Simonov
Nathan Paul Simons Nathan Paul Simons
Guilherme Simões
Adam Simpkins Adam Simpkins
Ravi Sinha Ravi Sinha
Janne Sinkkonen Janne Sinkkonen
......
...@@ -45,6 +45,9 @@ IDLE ...@@ -45,6 +45,9 @@ IDLE
- Issue #14146: Highlight source line while debugging on Windows. - 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 Tests
----- -----
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment