Commit 01f8bcf9 authored by Ned Deily's avatar Ned Deily

Issue #23180: Rename IDLE "Windows" menu item to "Window".

Patch by Al Sweigart.
parent 7499d286
...@@ -258,8 +258,8 @@ Code Context (toggle)(Editor Window only) ...@@ -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 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. of the code which has scrolled above the top of the window.
Windows menu (Shell and Editor) Window menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Zoom Height Zoom Height
Toggles the window between normal size and maximum height. The initial size Toggles the window between normal size and maximum height. The initial size
......
...@@ -469,13 +469,10 @@ class EditorWindow(object): ...@@ -469,13 +469,10 @@ class EditorWindow(object):
("format", "F_ormat"), ("format", "F_ormat"),
("run", "_Run"), ("run", "_Run"),
("options", "_Options"), ("options", "_Options"),
("windows", "_Windows"), ("windows", "_Window"),
("help", "_Help"), ("help", "_Help"),
] ]
if sys.platform == "darwin":
menu_specs[-2] = ("windows", "_Window")
def createmenubar(self): def createmenubar(self):
mbar = self.menubar mbar = self.menubar
......
...@@ -871,13 +871,10 @@ class PyShell(OutputWindow): ...@@ -871,13 +871,10 @@ class PyShell(OutputWindow):
("edit", "_Edit"), ("edit", "_Edit"),
("debug", "_Debug"), ("debug", "_Debug"),
("options", "_Options"), ("options", "_Options"),
("windows", "_Windows"), ("windows", "_Window"),
("help", "_Help"), ("help", "_Help"),
] ]
if sys.platform == "darwin":
menu_specs[-2] = ("windows", "_Window")
# New classes # New classes
from idlelib.IdleHistory import History from idlelib.IdleHistory import History
......
...@@ -100,7 +100,7 @@ Options Menu: ...@@ -100,7 +100,7 @@ Options Menu:
which is scrolling off the top or the window. which is scrolling off the top or the window.
(Not present in Shell window.) (Not present in Shell window.)
Windows Menu: Window Menu:
Zoom Height -- toggles the window between configured size Zoom Height -- toggles the window between configured size
and maximum height. and maximum height.
......
...@@ -1310,6 +1310,7 @@ Hisao Suzuki ...@@ -1310,6 +1310,7 @@ Hisao Suzuki
Kalle Svensson Kalle Svensson
Andrew Svetlov Andrew Svetlov
Paul Swartz Paul Swartz
Al Sweigart
Thenault Sylvain Thenault Sylvain
Péter Szabó Péter Szabó
John Szakmeister John Szakmeister
......
...@@ -86,6 +86,9 @@ IDLE ...@@ -86,6 +86,9 @@ IDLE
- Issue #16893: Update Idle doc chapter to match current Idle and add new - Issue #16893: Update Idle doc chapter to match current Idle and add new
information. information.
- Issue #23180: Rename IDLE "Windows" menu item to "Window".
Patch by Al Sweigart.
Build Build
----- -----
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment