Kaydet (Commit) 7ae35484 authored tarafından Kurt B. Kaiser's avatar Kurt B. Kaiser

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
üst f5af05a2
...@@ -22,9 +22,9 @@ menudefs = [ ...@@ -22,9 +22,9 @@ menudefs = [
None, None,
('_Save', '<<save-window>>'), ('_Save', '<<save-window>>'),
('Save _As...', '<<save-window-as-file>>'), ('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, None,
('_Print Window', '<<print-window>>'), ('Prin_t Window', '<<print-window>>'),
None, None,
('_Close', '<<close-window>>'), ('_Close', '<<close-window>>'),
('E_xit', '<<close-all-windows>>'), ('E_xit', '<<close-all-windows>>'),
......
...@@ -3,6 +3,10 @@ What's New in IDLE 1.2c1? ...@@ -3,6 +3,10 @@ What's New in IDLE 1.2c1?
*Release date: 17-AUG-2006* *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. - IDLE honors new quit() and exit() commands from site.py Quitter() object.
Patch 1540892, Jim Jewett Patch 1540892, Jim Jewett
......
...@@ -800,7 +800,7 @@ class PyShell(OutputWindow): ...@@ -800,7 +800,7 @@ class PyShell(OutputWindow):
if use_subprocess: if use_subprocess:
ms = self.menu_specs ms = self.menu_specs
if ms[2][0] != "shell": if ms[2][0] != "shell":
ms.insert(2, ("shell", "_Shell")) ms.insert(2, ("shell", "She_ll"))
self.interp = ModifiedInterpreter(self) self.interp = ModifiedInterpreter(self)
if flist is None: if flist is None:
root = Tk() root = Tk()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment