summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2006-08-16 21:45:59 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2006-08-16 21:45:59 (GMT)
commit7ae354846fff616746eeba6d27ccd5c175591cae (patch)
treee74de03f1287c4e5e71d8ce4ef07d51f24dbefd0
parentf5af05a2111673b9cf39f94a73844bdd4b3c54a9 (diff)
downloadcpython-7ae354846fff616746eeba6d27ccd5c175591cae.zip
cpython-7ae354846fff616746eeba6d27ccd5c175591cae.tar.gz
cpython-7ae354846fff616746eeba6d27ccd5c175591cae.tar.bz2
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
-rw-r--r--Lib/idlelib/Bindings.py4
-rw-r--r--Lib/idlelib/NEWS.txt4
-rw-r--r--Lib/idlelib/PyShell.py2
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-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>>'),
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()