예제 #1
0
파일: main.py 프로젝트: svn2github/Xpra
 def abort_test(action):
     """ if ssh dies, we don't need to try to read/write from its sockets """
     e = child.poll()
     if e is not None:
         error_message = "cannot %s using %s: the SSH process has terminated with exit code=%s" % (action, display_desc["full_ssh"], e)
         print(error_message)
         from wimpiggy.util import gtk_main_quit_really
         gtk_main_quit_really()
         raise IOError(error_message)
예제 #2
0
 def abort_test(action):
     """ if ssh dies, we don't need to try to read/write from its sockets """
     e = child.poll()
     if e is not None:
         error_message = "cannot %s using %s: the SSH process has terminated with exit code=%s" % (action, display_desc["full_ssh"], e)
         print(error_message)
         from wimpiggy.util import gtk_main_quit_really
         gtk_main_quit_really()
         raise IOError(error_message)
예제 #3
0
 def quit_launcher(*args):
     gtk_main_quit_really()
예제 #4
0
파일: client.py 프로젝트: svn2github/Xpra
 def quit(self, *args):
     gtk_main_quit_really()
예제 #5
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 wimpiggy.util import gtk_main_quit_really
    gtk_main_quit_really()
예제 #6
0
파일: __init__.py 프로젝트: svn2github/Xpra
 def quit_launcher(*args):
     gtk_main_quit_really()
예제 #7
0
파일: client.py 프로젝트: dmgerman/hacking
 def _process_connection_lost(self, packet):
     log.error("Connection lost")
     gtk_main_quit_really()
예제 #8
0
 def _wm_quit(self, *args):
     gtk_main_quit_really()
예제 #9
0
 def _process_connection_lost(self, packet):
     log.error("Connection lost")
     gtk_main_quit_really()
예제 #10
0
파일: server.py 프로젝트: dmgerman/hacking
 def quit(self, upgrading):
     self._upgrading = upgrading
     gtk_main_quit_really()
예제 #11
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 wimpiggy.util import gtk_main_quit_really
    gtk_main_quit_really()