]> granicus.if.org Git - python/commitdiff
File menu hotkeys: there were three 'p' assignments. Reassign the
authorKurt B. Kaiser <kbk@shore.net>
Wed, 16 Aug 2006 21:45:59 +0000 (21:45 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 16 Aug 2006 21:45:59 +0000 (21:45 +0000)
'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
Lib/idlelib/NEWS.txt
Lib/idlelib/PyShell.py

index d24be3f1e23825a17c65fb5121cd89e481e65af3..a3c9fc45f8234bcaffaa5af401a8bcd203d76588 100644 (file)
@@ -22,9 +22,9 @@ menudefs = [
    None,
    ('_Save', '<<save-window>>'),
    ('Save _As...', '<<save-window-as-file>>'),
-   ('Save Co_py As...', '<<save-copy-of-window-as-file>>'),
+   ('Save Cop_y As...', '<<save-copy-of-window-as-file>>'),
    None,
-   ('_Print Window', '<<print-window>>'),
+   ('Prin_t Window', '<<print-window>>'),
    None,
    ('_Close', '<<close-window>>'),
    ('E_xit', '<<close-all-windows>>'),
index dfdb0cb10c9ea152a7f41b0745ed6e842686bc06..d9e0c50a12a1adb248d187331ee39fb18821939c 100644 (file)
@@ -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
 
index d6fd82b9f72135e12ec46e76ec685e8510dcbb41..aa27028b1b5b994174295485b1eba84392c7aa12 100644 (file)
@@ -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()