From 1afb70d712e967917e59bcb4b9be9a0fe6a36865 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 30 Apr 2011 10:51:21 +0000 Subject: [PATCH] Remove gramplet update messages from the status bar svn: r17354 --- src/gen/plug/_gramplet.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/gen/plug/_gramplet.py b/src/gen/plug/_gramplet.py index bfef9bc7e..b14f6207c 100644 --- a/src/gen/plug/_gramplet.py +++ b/src/gen/plug/_gramplet.py @@ -287,8 +287,7 @@ class Gramplet(object): return #print " %s is UPDATING" % self.gui.gname self.dirty = False - self.uistate.push_message(self.dbstate, - _("Gramplet %s is running") % self.gui.title) + LOG.debug("gramplet updater: %s: running" % self.gui.title) if self._idle_id != 0: self.interrupt() self._generator = self.main() @@ -303,8 +302,6 @@ class Gramplet(object): LOG.debug("gramplet updater: %s" % self.gui.title) if not isinstance(self._generator, types.GeneratorType): self._idle_id = 0 - self.uistate.push_message(self.dbstate, - _("Gramplet %s updated") % self.gui.title) LOG.debug("gramplet updater: %s : One time, done!" % self.gui.title) return False try: @@ -312,8 +309,6 @@ class Gramplet(object): if not retval: self._idle_id = 0 if self._pause: - self.uistate.push_message(self.dbstate, - _("Gramplet %s updated") % self.gui.title) LOG.debug("gramplet updater: %s: return False" % self.gui.title) return False LOG.debug("gramplet updater: %s: return %s" % @@ -325,8 +320,6 @@ class Gramplet(object): return False except StopIteration: self._idle_id = 0 - self.uistate.push_message(self.dbstate, - _("Gramplet %s updated") % self.gui.title) self._generator.close() LOG.debug("gramplet updater: %s: Done!" % self.gui.title) return False