From 21c9bbd04a077a2ffb226ea0d80f3f1ed9ee65da Mon Sep 17 00:00:00 2001 From: "gchazara@trinidad.inria.fr" Date: Tue, 22 Aug 2006 11:43:07 +0200 Subject: [PATCH] Build a new tree, only if its size is 'auto'. --- ui/gtk/pysize_widget.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/gtk/pysize_widget.py b/ui/gtk/pysize_widget.py index b12aa55..eb14166 100644 --- a/ui/gtk/pysize_widget.py +++ b/ui/gtk/pysize_widget.py @@ -96,7 +96,8 @@ class PysizeWidget(gtk.DrawingArea, PysizeWidget_Draw, self.min_size_requested()) def _configure(self, event): - self.schedule_new_tree() + if self.options.min_size == 'auto': + self.schedule_new_tree() def invalidate_tree(self): self.emit('hover-changed', None) -- 2.11.4.GIT