Kaydet (Commit) 674f4fa2 authored tarafından Ned Deily's avatar Ned Deily

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

Patch by Guilherme Simões.
üst 1cf48b4a
......@@ -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
......@@ -467,7 +467,6 @@ class EditorWindow(object):
]
if macosxSupport.runningAsOSXApp():
del menu_specs[-3]
menu_specs[-2] = ("windows", "_Window")
......
......@@ -844,7 +844,6 @@ class PyShell(OutputWindow):
]
if macosxSupport.runningAsOSXApp():
del menu_specs[-3]
menu_specs[-2] = ("windows", "_Window")
......
......@@ -941,6 +941,7 @@ Michael Simcich
Ionel Simionescu
Kirill Simonov
Nathan Paul Simons
Guilherme Simões
Ravi Sinha
Janne Sinkkonen
Ng Pheng Siong
......
......@@ -28,6 +28,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
-----
......
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