コード例 #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
ファイル: __init__.py プロジェクト: rudresh2319/Xpra
 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
ファイル: parti_main.py プロジェクト: rudresh2319/Xpra
 def _wm_quit(self, *args):
     gtk_main_quit_really()
コード例 #9
0
ファイル: client.py プロジェクト: yodamaster/partiwm
 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()