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