Applied change to bypass update if Gramplet is closed or minimized

svn: r11474
This commit is contained in:
Doug Blank 2008-12-14 17:01:04 +00:00
parent e3b79a8f90
commit 1d4ae15503

View File

@ -335,6 +335,7 @@ class Gramplet(object):
self.gui.data.append(text)
def update(self, *args):
if self.gui.state in ["closed", "minimized"]: return
if self._idle_id != 0:
if debug: print "%s interrupt!" % self.gui.title
self.interrupt()