From 981344567fb810a68c7a371c4727f3f63a181214 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Wed, 22 Jan 2003 00:31:09 +0000 Subject: [PATCH] Make Alt-Key-2 the Zoom Height binding for ClassBrowser and PathBrowser, consistent with the Edit/Shell windows. --- Lib/idlelib/TreeWidget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/idlelib/TreeWidget.py b/Lib/idlelib/TreeWidget.py index 7ad4002c69f..e30eeae34be 100644 --- a/Lib/idlelib/TreeWidget.py +++ b/Lib/idlelib/TreeWidget.py @@ -428,8 +428,8 @@ class ScrolledCanvas: self.canvas.bind("", self.page_down) self.canvas.bind("", self.unit_up) self.canvas.bind("", self.unit_down) - if isinstance(master, Toplevel) or isinstance(master, Tk): - self.canvas.bind("", self.zoom_height) + #if isinstance(master, Toplevel) or isinstance(master, Tk): + self.canvas.bind("", self.zoom_height) self.canvas.focus_set() def page_up(self, event): self.canvas.yview_scroll(-1, "page")