Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a00b6f

Browse files
committed
Issue #17532: merge
2 parents 965efe9 + 7f0882c commit 6a00b6f

5 files changed

Lines changed: 8 additions & 2 deletions

File tree

Lib/idlelib/Bindings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@
9898
# menu
9999
del menudefs[-1][1][0:2]
100100

101+
# Remove the 'Configure' entry from the options menu, it is in the
102+
# application menu as 'Preferences'
103+
del menudefs[-2][1][0:2]
104+
101105
default_keydefs = idleConf.GetCurrentKeySet()
102106

103107
del sys

Lib/idlelib/EditorWindow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@ def set_line_and_column(self, event=None):
463463
]
464464

465465
if macosxSupport.runningAsOSXApp():
466-
del menu_specs[-3]
467466
menu_specs[-2] = ("windows", "_Window")
468467

469468

Lib/idlelib/PyShell.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,6 @@ class PyShell(OutputWindow):
822822
]
823823

824824
if macosxSupport.runningAsOSXApp():
825-
del menu_specs[-3]
826825
menu_specs[-2] = ("windows", "_Window")
827826

828827

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,7 @@ Michael Simcich
11541154
Ionel Simionescu
11551155
Kirill Simonov
11561156
Nathan Paul Simons
1157+
Guilherme Simões
11571158
Adam Simpkins
11581159
Ravi Sinha
11591160
Janne Sinkkonen

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,9 @@ IDLE
370370

371371
- Issue #14735: Update IDLE docs to omit "Control-z on Windows".
372372

373+
- Issue #17532: Always include Options menu for IDLE on OS X.
374+
Patch by Guilherme Simões.
375+
373376
Build
374377
-----
375378

0 commit comments

Comments
 (0)