From: Kurt B. Kaiser Date: Wed, 16 Aug 2006 21:45:59 +0000 (+0000) Subject: File menu hotkeys: there were three 'p' assignments. Reassign the X-Git-Tag: v2.5c1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ae354846fff616746eeba6d27ccd5c175591cae;p=python 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 --- diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py index d24be3f1e2..a3c9fc45f8 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 dfdb0cb10c..d9e0c50a12 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 d6fd82b9f7..aa27028b1b 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()