Beispiel #1
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)
Beispiel #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)
Beispiel #3
0
 def quit_launcher(*args):
     gtk_main_quit_really()
Beispiel #4
0
 def quit(self, *args):
     gtk_main_quit_really()
Beispiel #5
0
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()
Beispiel #6
0
 def quit_launcher(*args):
     gtk_main_quit_really()
Beispiel #7
0
 def _process_connection_lost(self, packet):
     log.error("Connection lost")
     gtk_main_quit_really()
Beispiel #8
0
 def _wm_quit(self, *args):
     gtk_main_quit_really()
Beispiel #9
0
 def _process_connection_lost(self, packet):
     log.error("Connection lost")
     gtk_main_quit_really()
Beispiel #10
0
 def quit(self, upgrading):
     self._upgrading = upgrading
     gtk_main_quit_really()
Beispiel #11
0
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()