def set_label(self, newlabel): GObject.idle_add( self.timer.set_text, newlabel, priority=GObject.PRIORITY_DEFAULT )