mirror of
https://github.com/python/cpython.git
synced 2025-09-19 15:10:58 +00:00
Issue #23180: Rename IDLE "Windows" menu item to "Window".
Patch by Al Sweigart.
This commit is contained in:
parent
3bbb37e09b
commit
ccb416fee2
6 changed files with 9 additions and 11 deletions
|
@ -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
|
||||||
|
|
|
@ -439,13 +439,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
|
||||||
|
|
|
@ -848,13 +848,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
|
||||||
|
|
|
@ -138,7 +138,7 @@ Options Menu (Shell and Editor):
|
||||||
window. This is not present in the Shell
|
window. This is not present in the Shell
|
||||||
window only the Editor window.
|
window only the Editor window.
|
||||||
|
|
||||||
Windows Menu (Shell and Editor):
|
Window Menu (Shell and Editor):
|
||||||
|
|
||||||
Zoom Height -- Toggles the window between normal size (40x80 initial
|
Zoom Height -- Toggles the window between normal size (40x80 initial
|
||||||
setting) and maximum height. The initial size is in the Configure
|
setting) and maximum height. The initial size is in the Configure
|
||||||
|
|
|
@ -1320,6 +1320,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
|
||||||
|
|
|
@ -272,6 +272,9 @@ IDLE
|
||||||
- Issue #21986: Code objects are not normally pickled by the pickle module.
|
- Issue #21986: Code objects are not normally pickled by the pickle module.
|
||||||
To match this, they are no longer pickled when running under Idle.
|
To match this, they are no longer pickled when running under Idle.
|
||||||
|
|
||||||
|
- Issue #23180: Rename IDLE "Windows" menu item to "Window".
|
||||||
|
Patch by Al Sweigart.
|
||||||
|
|
||||||
Tests
|
Tests
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue