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

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


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  6e50edc5cc601ffe430639e6c1609b1a03e6c9b7 (commit)
      from  5e6e4f1d9003761d2279e234e1139292b38df6a8 (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 |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index a1fb3e0..06ba4c0 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -90,9 +90,6 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
         else:
             self._pyhoca_liblogger = copy.deepcopy(liblogger)
 
-        wx.App.__init__(self)
-        self.Bind(wx.EVT_IDLE, self.OnIdle)
-
         _x2goclient_kwargs = {
             'use_listsessions_cache': True,
             'auto_update_listsessions_cache': True,
@@ -136,7 +133,11 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
         # 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)
+        self.register_all_session_profiles(return_objects=True)
+
+        wx.App.__init__(self)
+        self.Bind(wx.EVT_IDLE, self.OnIdle)
+
 
     def OnInit(self):
         """\
@@ -197,6 +198,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
 
         self.taskbar = taskbar.PyHocaGUI_TaskBarIcon(self.about)
         self.taskbar.Bind(wx.EVT_TASKBAR_LEFT_DCLICK, lambda _Show: self.about.Show(True))
+
         if not self.restricted_trayicon:
             self.taskbar.Bind(wx.EVT_TASKBAR_LEFT_DOWN, self.taskbar.CreateSessionManagerPopupMenu)
 


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