예제 #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()