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

X2Go dev team git-admin at x2go.org
Tue Apr 3 14:09:08 CEST 2012


The branch, master has been updated
       via  f599a5c9d370edb7e3e5ff15786033cb9a993ebb (commit)
      from  a60401acac4a0363b7dda3f07945058597fd9933 (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 f599a5c9d370edb7e3e5ff15786033cb9a993ebb
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Apr 3 14:07:24 2012 +0200

    fix auto connecting to session profiles: only connect if the session profile configuration has autologin set to true

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

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

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index e771827..8cb930f 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -300,7 +300,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
     def session_auto_connect(self, session_uuid):
 
         # override X2goClient method
-        if self.auto_connect:
+        if self.auto_connect and self.get_session(session_uuid).get_session_profile_option('auto_connect'):
             self.HOOK_profile_auto_connect(self.get_session_profile_name(session_uuid))
 
     def HOOK_profile_auto_connect(self, 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