From a5b569d1dc01dfa98a6abb0b2ff93e96cba3e91f Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 24 Feb 2008 14:58:35 +0000 Subject: [PATCH] * src/DataViews/GrampletView.py (GrampletView.restore_gramplet): Fixed restore minimized gramplet 2008-02-24 NOT Douglas S. Blank svn: r10106 --- ChangeLog | 4 ++++ src/DataViews/GrampletView.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 468f256c3..df7cbdb95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ 2008-02-24 Douglas S. Blank + * src/DataViews/GrampletView.py (GrampletView.restore_gramplet): + Fixed restore minimized gramplet + +2008-02-24 NOT Douglas S. Blank * src/ViewManager.py: * src/DbLoader.py: Remove os.chdir, no longer needed for relative path diff --git a/src/DataViews/GrampletView.py b/src/DataViews/GrampletView.py index 8efb062e5..f10718389 100644 --- a/src/DataViews/GrampletView.py +++ b/src/DataViews/GrampletView.py @@ -943,13 +943,14 @@ class GrampletView(PageView.PageView): ############### First kind: from current session for gramplet in self.closed_gramplets: if gramplet.title == name: - gramplet.state = "maximized" + #gramplet.state = "maximized" self.closed_gramplets.remove(gramplet) if self._popup_xy != None: self.drop_widget(self.widget, gramplet, self._popup_xy[0], self._popup_xy[1], 0) else: self.drop_widget(self.widget, gramplet, 0, 0, 0) + gramplet.set_state("maximized") return ################ Second kind: from options for opts in self.closed_opts: