The branch, master has been updated via c7e4817344e2d930efdab307ed15e6845533f2ca (commit) from 73ef001033d425d0c4c419a31afb887c81f7997b (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 c7e4817344e2d930efdab307ed15e6845533f2ca Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Mar 21 15:20:02 2012 +0100 Add X2goClient method is_profile_connected. ----------------------------------------------------------------------- Summary of changes: debian/changelog | 1 + x2go/client.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 0 deletions(-) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 36cc1f3..c567e73 100644 --- a/debian/changelog +++ b/debian/changelog @@ -54,6 +54,7 @@ python-x2go (0.1.2.0-0~x2go1) UNRELEASED; urgency=low based submenus. - Support auto-resuming and auto-starting of session with Python X2Go. - Include development location of nxproxy in possible file locations. + - Add X2goClient method is_profile_connected. * Depend on python-xlib. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Sat, 28 Sep 2012 01:44:21 +0100 diff --git a/x2go/client.py b/x2go/client.py index 7709f4b..3504ac2 100644 --- a/x2go/client.py +++ b/x2go/client.py @@ -1556,6 +1556,21 @@ class X2goClient(object): return self.session_registry(session_uuid).is_connected() __is_session_connected = is_session_connected + def is_profile_connected(self, profile_name): + """\ + Test if the X2Go given session profile has open connections + to the X2Go server. + + @param profile_name: the X2Go session's UUID registry hash + @type profile_name: C{str} + + @return: C{True} if profile has a connected session, C{False} otherwise + @rtype: C{bool} + + """ + return bool(self.client_connected_sessions_of_profile_name(profile_name=profile_name)) + __is_profile_connected = is_profile_connected + def is_session_running(self, session_uuid, session_name=None): """\ Test if the X2Go session registered as C{session_uuid} is up hooks/post-receive -- python-x2go.git (Python X2Go Client API) 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 "python-x2go.git" (Python X2Go Client API).