mirror of https://github.com/python/cpython
Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
This commit is contained in:
parent
6724612755
commit
7f0882c920
|
@ -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
|
||||
|
|
|
@ -463,7 +463,6 @@ class EditorWindow(object):
|
|||
]
|
||||
|
||||
if macosxSupport.runningAsOSXApp():
|
||||
del menu_specs[-3]
|
||||
menu_specs[-2] = ("windows", "_Window")
|
||||
|
||||
|
||||
|
|
|
@ -822,7 +822,6 @@ class PyShell(OutputWindow):
|
|||
]
|
||||
|
||||
if macosxSupport.runningAsOSXApp():
|
||||
del menu_specs[-3]
|
||||
menu_specs[-2] = ("windows", "_Window")
|
||||
|
||||
|
||||
|
|
|
@ -1130,6 +1130,7 @@ Michael Simcich
|
|||
Ionel Simionescu
|
||||
Kirill Simonov
|
||||
Nathan Paul Simons
|
||||
Guilherme Simões
|
||||
Adam Simpkins
|
||||
Ravi Sinha
|
||||
Janne Sinkkonen
|
||||
|
|
Loading…
Reference in New Issue