示例#1
0
文件: gui.py 项目: svn2github/Xpra
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
示例#2
0
文件: gui.py 项目: rudresh2319/Xpra
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
示例#3
0
 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()
示例#4
0
 def exit(self):
     log("GTKXpraClient.exit() calling %s", gtk_main_quit_really)
     gtk_main_quit_really()
示例#5
0
 def do_quit(self):
     gtk_main_quit_really()
示例#6
0
 def do_quit(self):
     gtk_main_quit_really()
示例#7
0
文件: main.py 项目: svn2github/Xpra
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()
示例#8
0
 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")
示例#9
0
 def close_dialog(*_args):
     md.destroy()
     gtk_main_quit_really()
示例#10
0
 def destroy(self, *args):
     log("destroy%s", args)
     self.exit_launcher = True
     self.clean_client()
     self.close_window()
     gtk_main_quit_really()
示例#11
0
 def do_quit(*args):
     log("do_quit%s", args)
     self.clean_client()
     self.destroy()
     gtk_main_quit_really()
示例#12
0
 def accel_close(self, *args):
     log("accel_close%s", args)
     gtk_main_quit_really()
示例#13
0
 def exit(self):
     log("GTKXpraClient.exit() calling %s", gtk_main_quit_really)
     gtk_main_quit_really()
示例#14
0
文件: ssh.py 项目: DiGuoZhiMeng/Xpra
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()
示例#15
0
 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")
示例#16
0
文件: main.py 项目: rudresh2319/Xpra
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()