diff options
author | Ned Deily <nad@acm.org> | 2013-05-22 22:19:40 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2013-05-22 22:19:40 (GMT) |
commit | 7f0882c920a9a3e3c7244f84743170dcf2324843 (patch) | |
tree | f2c1965c59175d9f85c38d2a2f1fc96c9a7aff2f /Lib/idlelib/Bindings.py | |
parent | 67246127553cc69b97d13753de1d8d0c9bfffd66 (diff) | |
download | cpython-7f0882c920a9a3e3c7244f84743170dcf2324843.zip cpython-7f0882c920a9a3e3c7244f84743170dcf2324843.tar.gz cpython-7f0882c920a9a3e3c7244f84743170dcf2324843.tar.bz2 |
Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
Diffstat (limited to 'Lib/idlelib/Bindings.py')
-rw-r--r-- | Lib/idlelib/Bindings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py index ec2720b..fe6e812 100644 --- a/Lib/idlelib/Bindings.py +++ b/Lib/idlelib/Bindings.py @@ -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 |