def gtk_quit_on_fail(self): try: self.fail("registergui didn't get a signal before the timeout.") except Exception: self.exc_infos.append(sys.exc_info()) ga_Gtk.main_quit()
def gtk_quit(self): ga_Gtk.main_quit()