cpython: 6eb4441ed14b (original) (raw)

Mercurial > cpython

changeset 97152:6eb4441ed14b 3.4

Issue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy. [#13884]

Terry Jan Reedy tjreedy@udel.edu
date Thu, 30 Jul 2015 16:44:22 -0400
parents f9694502f07c
children 3dd296430cc7 fe55a36a335b
files Doc/library/idle.rst Lib/idlelib/EditorWindow.py Lib/idlelib/help.txt Lib/idlelib/macosxSupport.py
diffstat 4 files changed, 8 insertions(+), 10 deletions(-)[+] [-] Doc/library/idle.rst 2 Lib/idlelib/EditorWindow.py 7 Lib/idlelib/help.txt 4 Lib/idlelib/macosxSupport.py 5

line wrap: on

line diff

--- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -37,8 +37,6 @@ context menu. IDLE's menus dynamically change based on which window is currently selected. Each menu documented below indicates which window type it is associated with. -Click on the dotted line at the top of a menu to "tear it off": a separate -window containing the menu is created (for Unix and Windows only). File menu (Shell and Editor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

--- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -447,14 +447,15 @@ class EditorWindow(object): self.menudict = menudict = {} for name, label in self.menu_specs: underline, label = prepstr(label)

--- a/Lib/idlelib/help.txt +++ b/Lib/idlelib/help.txt @@ -15,9 +15,7 @@ Menus: IDLE has two window types the Shell window and the Editor window. It is possible to have multiple editor windows simultaneously. IDLE's menus dynamically change based on which window is currently selected. Each menu -documented below indicates which window type it is associated with. Click on -the dotted line at the top of a menu to "tear it off": a separate window -containing the menu is created (for Unix and Windows only). +documented below indicates which window type it is associated with. File Menu (Shell and Editor):

--- a/Lib/idlelib/macosxSupport.py +++ b/Lib/idlelib/macosxSupport.py @@ -145,7 +145,7 @@ def overrideRootMenu(root, flist): root.configure(menu=menubar) menudict = {}