def quit_handler(*args): global exit_cb if exit_cb: exit_cb() else: from xpra.gtk_common.quit import gtk_main_quit_really gtk_main_quit_really() return True
def quit_handler(*_args): global exit_cb if exit_cb: exit_cb() else: from xpra.gtk_common.quit import gtk_main_quit_really gtk_main_quit_really() return True
def do_quit(self): log("do_quit: calling gtk_main_quit_really") gtk_main_quit_on_fatal_exceptions_disable() gtk_main_quit_really() log("do_quit: gtk_main_quit_really done") #from now on, we can't rely on the main loop: from xpra.os_util import register_SIGUSR_signals register_SIGUSR_signals()
def exit(self): log("GTKXpraClient.exit() calling %s", gtk_main_quit_really) gtk_main_quit_really()
def do_quit(self): gtk_main_quit_really()
def ssh_connect_failed(message): #by the time ssh fails, we may have entered the gtk main loop #(and more than once thanks to the clipboard code..) from xpra.gtk_common.quit import gtk_main_quit_really gtk_main_quit_really()
def do_quit(self): log("do_quit: calling gtk_main_quit_really") gtk_main_quit_on_fatal_exceptions_disable() gtk_main_quit_really() log("do_quit: gtk_main_quit_really done")
def close_dialog(*_args): md.destroy() gtk_main_quit_really()
def destroy(self, *args): log("destroy%s", args) self.exit_launcher = True self.clean_client() self.close_window() gtk_main_quit_really()
def do_quit(*args): log("do_quit%s", args) self.clean_client() self.destroy() gtk_main_quit_really()
def accel_close(self, *args): log("accel_close%s", args) gtk_main_quit_really()
def ssh_connect_failed(_message): #by the time ssh fails, we may have entered the gtk main loop #(and more than once thanks to the clipboard code..) if "gtk" in sys.modules or "gi.repository.Gtk" in sys.modules: from xpra.gtk_common.quit import gtk_main_quit_really gtk_main_quit_really()