Applied change to bypass update if Gramplet is closed or minimized
svn: r11474
This commit is contained in:
parent
e3b79a8f90
commit
1d4ae15503
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user