def show(self): Viewer.show(self) self.emit_event(msgs.UI_ACT_VIEW_MODE, viewmodes.NORMAL) self.__tick() if (not self.__is_ticking): today = time.strftime("%A - %x", time.localtime()) self.set_title(today) gobject.timeout_add(10000, self.__tick) self.__is_ticking = True
def show(self): Viewer.show(self) self.emit_event(msgs.UI_ACT_VIEW_MODE, viewmodes.NORMAL)