]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35770: IDLE macosx deletes Options => Configure IDLE. (GH-11614)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 18 Jan 2019 19:16:01 +0000 (11:16 -0800)
committerGitHub <noreply@github.com>
Fri, 18 Jan 2019 19:16:01 +0000 (11:16 -0800)
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.
(cherry picked from commit 39ed289a3511d2e9bf0950a9d5dc53c8194f61b9)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/NEWS.txt
Lib/idlelib/macosx.py
Misc/NEWS.d/next/IDLE/2019-01-18-13-04-30.bpo-35770.2LxJGu.rst [new file with mode: 0644]

index a1964def362b989cee78d546980daa9672cf2245..4d3da19ac37240464a325517f19c72e7bad37aa0 100644 (file)
@@ -3,6 +3,11 @@ Released on 2019-??-??
 ======================================
 
 
+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.
index 9be4ed2ec411d557e9ca8bcda5e647b0bcee4ea9..d6a1b376a1c27be1f3672c6b115da4a0dc97a1fd 100644 (file)
@@ -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 = {}
diff --git a/Misc/NEWS.d/next/IDLE/2019-01-18-13-04-30.bpo-35770.2LxJGu.rst b/Misc/NEWS.d/next/IDLE/2019-01-18-13-04-30.bpo-35770.2LxJGu.rst
new file mode 100644 (file)
index 0000000..89e4bde
--- /dev/null
@@ -0,0 +1,3 @@
+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.