summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2019-01-18 19:00:45 (GMT)
committerGitHub <noreply@github.com>2019-01-18 19:00:45 (GMT)
commit39ed289a3511d2e9bf0950a9d5dc53c8194f61b9 (patch)
tree4cc8a87f8bc1f55e868587fc08bbbba02fa53225 /Lib/idlelib
parent478f8291327a3e3ab17b5857699565df43a9e952 (diff)
downloadcpython-39ed289a3511d2e9bf0950a9d5dc53c8194f61b9.zip
cpython-39ed289a3511d2e9bf0950a9d5dc53c8194f61b9.tar.gz
cpython-39ed289a3511d2e9bf0950a9d5dc53c8194f61b9.tar.bz2
bpo-35770: IDLE macosx deletes Options => Configure IDLE. (GH-11614)
It previously deleted Window => Zoom Height by mistake. (Zoom Height is now on the Options menu). On Mac, the settings dialog is accessed via Preferences on the IDLE menu.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/NEWS.txt5
-rw-r--r--Lib/idlelib/macosx.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 222f187..61457e9 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -3,6 +3,11 @@ Released on 2019-10-20?
======================================
+bpo-35770: IDLE macosx deletes Options => Configure IDLE.
+It previously deleted Window => Zoom Height by mistake.
+(Zoom Height is now on the Options menu). On Mac, the settings
+dialog is accessed via Preferences on the IDLE menu.
+
bpo-35769: Change new file name from 'Untitled' to 'untitled'.
bpo-35660: Fix imports in window module.
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index 9be4ed2..d6a1b37 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -178,7 +178,7 @@ def overrideRootMenu(root, flist):
del mainmenu.menudefs[-1][1][0:2]
# Remove the 'Configure Idle' entry from the options menu, it is in the
# application menu as 'Preferences'
- del mainmenu.menudefs[-2][1][0]
+ del mainmenu.menudefs[-3][1][0:1]
menubar = Menu(root)
root.configure(menu=menubar)
menudict = {}