diff --git a/src/gen/plug/_gramplet.py b/src/gen/plug/_gramplet.py index 58ddfeca1..e17adbbe1 100644 --- a/src/gen/plug/_gramplet.py +++ b/src/gen/plug/_gramplet.py @@ -32,8 +32,8 @@ class Gramplet(object): Internal constructor for non-graphical gramplets. """ self._idle_id = 0 - self.active = True - self.dirty = False + self.active = False + self.dirty = True self._pause = False self._generator = None self._need_to_update = False diff --git a/src/plugins/view/grampletview.py b/src/plugins/view/grampletview.py index 7959a5ba6..f5aa6a755 100644 --- a/src/plugins/view/grampletview.py +++ b/src/plugins/view/grampletview.py @@ -1198,7 +1198,6 @@ class GrampletView(PageView): return 'gramps-gramplet' def set_inactive(self): - print "gramplet page inactive..." self.active = False for title in self.gramplet_map: if self.gramplet_map[title].pui: @@ -1206,14 +1205,12 @@ class GrampletView(PageView): self.gramplet_map[title].pui.active = False def set_active(self): - print "gramplet page active!" self.active = True for title in self.gramplet_map: if self.gramplet_map[title].pui: self.gramplet_map[title].pui.active = True if self.gramplet_map[title].pui.dirty: if self.gramplet_map[title].state == "maximized": - # FIXME: do in background? self.gramplet_map[title].pui.update() def ui_definition(self):