]> granicus.if.org Git - python/commitdiff
Issue #23180: Rename IDLE "Windows" menu item to "Window".
authorNed Deily <nad@acm.org>
Sun, 18 Jan 2015 05:03:41 +0000 (21:03 -0800)
committerNed Deily <nad@acm.org>
Sun, 18 Jan 2015 05:03:41 +0000 (21:03 -0800)
Patch by Al Sweigart.

Doc/library/idle.rst
Lib/idlelib/EditorWindow.py
Lib/idlelib/PyShell.py
Lib/idlelib/help.txt
Misc/ACKS
Misc/NEWS

index e9a91aed506686c99801deacefa7d8def6f2873f..bc4a791ed2e0756b53a4156f5350df9beadad05f 100644 (file)
@@ -258,8 +258,8 @@ Code Context (toggle)(Editor Window only)
    Open a pane at the top of the edit window which shows the block context
    of the code which has scrolled above the top of the window.
 
-Windows menu (Shell and Editor)
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Window menu (Shell and Editor)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 Zoom Height
    Toggles the window between normal size and maximum height. The initial size
index 8ec0f3294dcc10c82dabad5524fd861dab41b75e..d34fc62aa4b9646c698438d681a7f2aa82058672 100644 (file)
@@ -469,13 +469,10 @@ class EditorWindow(object):
         ("format", "F_ormat"),
         ("run", "_Run"),
         ("options", "_Options"),
-        ("windows", "_Windows"),
+        ("windows", "_Window"),
         ("help", "_Help"),
     ]
 
-    if sys.platform == "darwin":
-        menu_specs[-2] = ("windows", "_Window")
-
 
     def createmenubar(self):
         mbar = self.menubar
index 427d3ce72c3a413e3a98a5a645afd1236ed2e92b..996c4705bd6e539dc670a9887f4082fc967e1396 100755 (executable)
@@ -871,13 +871,10 @@ class PyShell(OutputWindow):
         ("edit", "_Edit"),
         ("debug", "_Debug"),
         ("options", "_Options"),
-        ("windows", "_Windows"),
+        ("windows", "_Window"),
         ("help", "_Help"),
     ]
 
-    if sys.platform == "darwin":
-        menu_specs[-2] = ("windows", "_Window")
-
 
     # New classes
     from idlelib.IdleHistory import History
index bd6822c4233d342d2d4ac0c2114529a7767e354e..6b1c0023eee67e9bca8b3464b0f12600391ff519 100644 (file)
@@ -100,7 +100,7 @@ Options Menu:
                          which is scrolling off the top or the window.
                          (Not present in Shell window.)
 
-Windows Menu:
+Window Menu:
 
        Zoom Height -- toggles the window between configured size
        and maximum height.
index 20ff71c6ca5c9604b1e3008701069e99faee1a54..c50f76e973e46558a2f31ae9a02e58d871084a95 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1310,6 +1310,7 @@ Hisao Suzuki
 Kalle Svensson
 Andrew Svetlov
 Paul Swartz
+Al Sweigart
 Thenault Sylvain
 Péter Szabó
 John Szakmeister
index b34d4178ad1a6928c0b52da2a85e53b6090938ea..1f4d4a39476aeea211ad7fa4ece215b8d128d029 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -86,6 +86,9 @@ IDLE
 - Issue #16893: Update Idle doc chapter to match current Idle and add new
   information.
 
+- Issue #23180: Rename IDLE "Windows" menu item to "Window".
+  Patch by Al Sweigart.
+
 Build
 -----