changeset: 94199:9a451aaa8ddb branch: 2.7 parent: 94181:294501835890 user: Ned Deily date: Sat Jan 17 21:03:41 2015 -0800 files: Doc/library/idle.rst Lib/idlelib/EditorWindow.py Lib/idlelib/PyShell.py Lib/idlelib/help.txt Misc/ACKS Misc/NEWS description: Issue #23180: Rename IDLE "Windows" menu item to "Window". Patch by Al Sweigart. diff -r 294501835890 -r 9a451aaa8ddb Doc/library/idle.rst --- a/Doc/library/idle.rst Thu Jan 15 09:15:45 2015 -0800 +++ b/Doc/library/idle.rst Sat Jan 17 21:03:41 2015 -0800 @@ -258,8 +258,8 @@ 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 diff -r 294501835890 -r 9a451aaa8ddb Lib/idlelib/EditorWindow.py --- a/Lib/idlelib/EditorWindow.py Thu Jan 15 09:15:45 2015 -0800 +++ b/Lib/idlelib/EditorWindow.py Sat Jan 17 21:03:41 2015 -0800 @@ -469,13 +469,10 @@ ("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 diff -r 294501835890 -r 9a451aaa8ddb Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Thu Jan 15 09:15:45 2015 -0800 +++ b/Lib/idlelib/PyShell.py Sat Jan 17 21:03:41 2015 -0800 @@ -871,13 +871,10 @@ ("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 diff -r 294501835890 -r 9a451aaa8ddb Lib/idlelib/help.txt --- a/Lib/idlelib/help.txt Thu Jan 15 09:15:45 2015 -0800 +++ b/Lib/idlelib/help.txt Sat Jan 17 21:03:41 2015 -0800 @@ -100,7 +100,7 @@ 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. diff -r 294501835890 -r 9a451aaa8ddb Misc/ACKS --- a/Misc/ACKS Thu Jan 15 09:15:45 2015 -0800 +++ b/Misc/ACKS Sat Jan 17 21:03:41 2015 -0800 @@ -1310,6 +1310,7 @@ Kalle Svensson Andrew Svetlov Paul Swartz +Al Sweigart Thenault Sylvain Péter Szabó John Szakmeister diff -r 294501835890 -r 9a451aaa8ddb Misc/NEWS --- a/Misc/NEWS Thu Jan 15 09:15:45 2015 -0800 +++ b/Misc/NEWS Sat Jan 17 21:03:41 2015 -0800 @@ -86,6 +86,9 @@ - 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 -----