From 4501b036df967b5edc525d722151c4613d99ee08 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 29 Jan 2010 12:41:55 +0000 Subject: [PATCH] Redraw initially closed, then maximized gramplet svn: r14161 --- src/plugins/view/grampletview.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/view/grampletview.py b/src/plugins/view/grampletview.py index ffbb07434..577ecbcde 100644 --- a/src/plugins/view/grampletview.py +++ b/src/plugins/view/grampletview.py @@ -422,9 +422,8 @@ class GuiGramplet(object): fill, padding, pack) - if oldstate is "minimized" and self.pui: - if self.pui.dirty: - self.pui.update() + if self.pui and self.pui.dirty: + self.pui.update() def change_state(self, obj): """