diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2003-01-22 00:31:09 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2003-01-22 00:31:09 (GMT) |
commit | 981344567fb810a68c7a371c4727f3f63a181214 (patch) | |
tree | 98c283f4f597b2c152756a9f456c3b84620de113 /Lib/idlelib | |
parent | 4cc5ef5dbe12cbc9dc1a00c7583ffd0117f4c31e (diff) | |
download | cpython-981344567fb810a68c7a371c4727f3f63a181214.zip cpython-981344567fb810a68c7a371c4727f3f63a181214.tar.gz cpython-981344567fb810a68c7a371c4727f3f63a181214.tar.bz2 |
Make Alt-Key-2 the Zoom Height binding for ClassBrowser and PathBrowser,
consistent with the Edit/Shell windows.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/TreeWidget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/TreeWidget.py b/Lib/idlelib/TreeWidget.py index 7ad4002..e30eeae 100644 --- a/Lib/idlelib/TreeWidget.py +++ b/Lib/idlelib/TreeWidget.py @@ -428,8 +428,8 @@ class ScrolledCanvas: self.canvas.bind("<Key-Next>", self.page_down) self.canvas.bind("<Key-Up>", self.unit_up) self.canvas.bind("<Key-Down>", self.unit_down) - if isinstance(master, Toplevel) or isinstance(master, Tk): - self.canvas.bind("<Alt-F2>", self.zoom_height) + #if isinstance(master, Toplevel) or isinstance(master, Tk): + self.canvas.bind("<Alt-Key-2>", self.zoom_height) self.canvas.focus_set() def page_up(self, event): self.canvas.yview_scroll(-1, "page") |