[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.0.31.0-84-g5e6e4f1

X2Go dev team git-admin at x2go.org
Tue Aug 27 13:21:24 CEST 2013


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  5e6e4f1d9003761d2279e234e1139292b38df6a8 (commit)
      from  d28d2f620abe324550c5d809469ef02ae8c84ec9 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 pyhoca/wxgui/frontend.py |   32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index c910662..a1fb3e0 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -93,15 +93,6 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
         wx.App.__init__(self)
         self.Bind(wx.EVT_IDLE, self.OnIdle)
 
-    def OnInit(self):
-        """\
-        STILL UNDOCUMENTED
-
-        """
-        wx.BeginBusyCursor()
-
-        splash.PyHocaGUI_SplashScreen()
-
         _x2goclient_kwargs = {
             'use_listsessions_cache': True,
             'auto_update_listsessions_cache': True,
@@ -138,13 +129,28 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             _x2goclient_kwargs['start_pulseaudio'] = self.args.start_pulseaudio
 
         if x2go.X2GOCLIENT_OS == 'Windows' and self.args.start_pulseaudio and os.environ.has_key('PYHOCAGUI_DEVELOPMENT') and os.environ['PYHOCAGUI_DEVELOPMENT'] == '1':
-            print os.path.dirname(basepath.pulseaudio_binary)
             _x2goclient_kwargs['pulseaudio_installdir'] = os.path.dirname(basepath.pulseaudio_binary)
 
         x2go.X2goClient.__init__(self, **_x2goclient_kwargs)
+        # We register one session per available session profile.
+        # These registered sessions will be used to access the profile's 
+        # ,,control'' sessions at first. Later, any session can be used
+        # to access the profile's control session.
+        gevent.spawn(self.register_all_session_profiles, return_objects=True)
+
+    def OnInit(self):
+        """\
+        STILL UNDOCUMENTED
+
+        """
+        wx.BeginBusyCursor()
+
         self.SetAppName(self.appname)
         self.SetVendorName(self.vendorname)
         self.startGUI()
+
+        splash.PyHocaGUI_SplashScreen()
+
         wx.EndBusyCursor()
         return True
 
@@ -207,12 +213,6 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
         self._temp_disabled_profile_names = []
         self._temp_disabled_session_names = {}
 
-        # We register one session per available session profile.
-        # These registered sessions will be used to access the profile's 
-        # ,,control'' sessions at first. Later, any session can be used
-        # to access the profile's control session.
-        self.register_all_session_profiles(return_objects=True)
-
         if self.args.auto_connect:
 
             for session_uuid in self._X2goClient__client_registered_sessions:


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