[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.10-271-g3f5d4fb
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:22:26 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
via 3f5d4fb0c89186b000bce06e538a0a97f4baba6e (commit)
from 9fa9cca1acf9595583500ef0d3835763cdba0081 (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:
debian/changelog | 1 +
pyhoca/wxgui/frontend.py | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index de95b0f..ad33a26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -144,6 +144,7 @@ pyhoca-gui (0.2.0.0-0~x2go1) UNRELEASED; urgency=low
running within a Ubuntu Unity session.
- Make auto-detected keyboard setup (i.e. usage of x2gosetkeyboard)
configurable in the profile manager.
+ - Fix published application startup.
* Depend on Python X2Go 0.2.0.1.
* Install GNOME icons via dh_links.
* Install X2Go icons with explicit install paths.
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 2bae5d2..1c291fd 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -383,6 +383,9 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
if profile_name is None and session_uuid:
profile_name = self._X2goClient__get_session_profile_name(session_uuid)
+ if not self._X2goClient__client_connected_sessions_of_profile_name(profile_name):
+ return None
+
if session_uuid is None and profile_name:
session_uuid = self._X2goClient__client_connected_sessions_of_profile_name(profile_name, return_objects=False)[0]
@@ -487,7 +490,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
pass
else:
self.notifier.send(_(u'%s - connect') % profile_name, _(u'Public SSH key authentication has been successful.'), icon='auth_success', timeout=4000)
- _dummy = self._X2goClient__list_sessions(session_uuid, refresh_cache=True)
+ _dummy = self._X2goClient__list_sessions(session_uuid, refresh_cache=True, update_sessionregistry=True)
self._post_authenticate(evt, session_uuid)
try:
self._temp_disabled_profile_names.remove(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