From 7ae354846fff616746eeba6d27ccd5c175591cae Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Wed, 16 Aug 2006 21:45:59 +0000 Subject: File menu hotkeys: there were three 'p' assignments. Reassign the 'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the Shell menu hotkey from 's' to 'l'. M Bindings.py M PyShell.py M NEWS.txt --- Lib/idlelib/Bindings.py | 4 ++-- Lib/idlelib/NEWS.txt | 4 ++++ Lib/idlelib/PyShell.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py index d24be3f..a3c9fc4 100644 --- a/Lib/idlelib/Bindings.py +++ b/Lib/idlelib/Bindings.py @@ -22,9 +22,9 @@ menudefs = [ None, ('_Save', '<>'), ('Save _As...', '<>'), - ('Save Co_py As...', '<>'), + ('Save Cop_y As...', '<>'), None, - ('_Print Window', '<>'), + ('Prin_t Window', '<>'), None, ('_Close', '<>'), ('E_xit', '<>'), diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index dfdb0cb..d9e0c50 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -3,6 +3,10 @@ What's New in IDLE 1.2c1? *Release date: 17-AUG-2006* +- File menu hotkeys: there were three 'p' assignments. Reassign the + 'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the + Shell hotkey from 's' to 'l'. + - IDLE honors new quit() and exit() commands from site.py Quitter() object. Patch 1540892, Jim Jewett diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index d6fd82b..aa27028 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -800,7 +800,7 @@ class PyShell(OutputWindow): if use_subprocess: ms = self.menu_specs if ms[2][0] != "shell": - ms.insert(2, ("shell", "_Shell")) + ms.insert(2, ("shell", "She_ll")) self.interp = ModifiedInterpreter(self) if flist is None: root = Tk() -- cgit v0.12