Refinements on statusbar update; only updated when really necessary; fixed bug in updating when db is closed

svn: r14141
This commit is contained in:
Doug Blank
2010-01-26 13:38:05 +00:00
parent e7c5d7a207
commit 81bb97e2df
2 changed files with 13 additions and 3 deletions

View File

@@ -422,7 +422,8 @@ class GuiGramplet(object):
padding,
pack)
if oldstate is "minimized" and self.pui:
self.pui.update()
if self.pui.dirty:
self.pui.update()
def change_state(self, obj):
"""