Issue #23180: merge from 3.4

This commit is contained in:
Ned Deily 2015-01-17 21:09:16 -08:00
commit 140fc9f501
6 changed files with 9 additions and 11 deletions

View 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

View File

@ -439,13 +439,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

View File

@ -848,13 +848,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

View File

@ -138,7 +138,7 @@ Options Menu (Shell and Editor):
window. This is not present in the Shell
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
setting) and maximum height. The initial size is in the Configure

View File

@ -1343,6 +1343,7 @@ Hisao Suzuki
Kalle Svensson
Andrew Svetlov
Paul Swartz
Al Sweigart
Thenault Sylvain
Péter Szabó
John Szakmeister

View File

@ -1374,6 +1374,9 @@ IDLE
- Issue #17654: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.
- Issue #23180: Rename IDLE "Windows" menu item to "Window".
Patch by Al Sweigart.
Build
-----