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

Patch by Guilherme Simões.
This commit is contained in:
Ned Deily 2013-05-22 15:19:40 -07:00
parent 6724612755
commit 7f0882c920
5 changed files with 8 additions and 2 deletions

View File

@ -98,6 +98,10 @@ if macosxSupport.runningAsOSXApp():
# 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

View File

@ -463,7 +463,6 @@ class EditorWindow(object):
]
if macosxSupport.runningAsOSXApp():
del menu_specs[-3]
menu_specs[-2] = ("windows", "_Window")

View File

@ -822,7 +822,6 @@ class PyShell(OutputWindow):
]
if macosxSupport.runningAsOSXApp():
del menu_specs[-3]
menu_specs[-2] = ("windows", "_Window")

View File

@ -1130,6 +1130,7 @@ Michael Simcich
Ionel Simionescu
Kirill Simonov
Nathan Paul Simons
Guilherme Simões
Adam Simpkins
Ravi Sinha
Janne Sinkkonen

View File

@ -45,6 +45,9 @@ IDLE
- 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
-----