[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.10-192-ga3d748d

X2Go dev team git-admin at x2go.org
Thu Apr 12 22:00:36 CEST 2012


The branch, master has been updated
       via  a3d748dd39e1c1fc5711c0735a71e2cf558332d7 (commit)
       via  2e727de1ae8e4f730ed69b449f56e95747707b1d (commit)
      from  4e9fea939b0696dc10fee7f39f0a9697903e7d74 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a3d748dd39e1c1fc5711c0735a71e2cf558332d7
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Apr 12 22:00:28 2012 +0200

    retrieve pubapp_session_started value from exitcode of pubapp_session.start()

commit 2e727de1ae8e4f730ed69b449f56e95747707b1d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Apr 12 20:56:14 2012 +0200

    get rid of a redundant gevent.spawn()

-----------------------------------------------------------------------

Summary of changes:
 pyhoca/wxgui/frontend.py |    3 +--
 pyhoca/wxgui/logon.py    |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 3d470cc..109ac04 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -430,8 +430,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
                                                                     published_applications_no_submenus=self.args.published_applications_no_submenus,
                                                                     return_object=True
                                                                    )
-                pubapp_session.start()
-                pubapp_session_started = True
+                pubapp_session_started = pubapp_session.start()
 
             if profile_name in self._temp_launching_pubapp_profiles:
                 self._temp_launching_pubapp_profiles.remove(profile_name)
diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py
index df529eb..4cb2b52 100644
--- a/pyhoca/wxgui/logon.py
+++ b/pyhoca/wxgui/logon.py
@@ -412,7 +412,7 @@ class PyHocaGUI_DialogBoxPassword(wx.Dialog):
             self._PyHocaGUI.ExitMainLoop()
 
         if self._PyHocaGUI._X2goClient__is_session_connected(session_uuid):
-            gevent.spawn(self._PyHocaGUI._post_authenticate, evt, session_uuid)
+            self._PyHocaGUI._post_authenticate(evt, session_uuid)
         self.sshproxy_started = False
         del self._PyHocaGUI._logon_windows[self.current_profile_name]
 


hooks/post-receive
-- 
pyhoca-gui.git (Python X2Go Client (wxPython GUI))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).




More information about the x2go-commits mailing list