[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.10-206-ge718a78
X2Go dev team
git-admin at x2go.org
Mon Apr 16 16:43:35 CEST 2012
The branch, master has been updated
via e718a786a188ede8215638d1b79e56faacfceda1 (commit)
from b33c348acbc154d47e4adb23ee636cb7addeb1c1 (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 e718a786a188ede8215638d1b79e56faacfceda1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Apr 16 16:43:29 2012 +0200
fix disconnect_on_suspend and disconnect_on_terminate
-----------------------------------------------------------------------
Summary of changes:
pyhoca/wxgui/frontend.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index df48ac7..e3eec79 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -1043,7 +1043,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
del self._hide_notifications_map[profile_name]
else:
self.notifier.send(_(u'%s - suspend') % profile_name, _(u'X2Go Session has been suspended\n%s') % session_name, icon='session_suspend', timeout=5000)
- if self.disconnect_on_suspend:
+ if self.disconnect_on_suspend and session_name in self.client_associated_sessions(return_session_names=True):
_dummy_id = wx.NewId()
self._eventid_profilenames_map[_dummy_id] = profile_name
evt = wx.IdleEvent()
@@ -1059,7 +1059,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
del self._hide_notifications_map[profile_name]
else:
self.notifier.send(_(u'%s - terminate') % profile_name, _(u'X2Go Session has terminated\n%s') % session_name, icon='session_terminate', timeout=5000)
- if self.disconnect_on_terminate:
+ if self.disconnect_on_terminate and session_name in self.client_associated_sessions(return_session_names=True):
_dummy_id = wx.NewId()
self._eventid_profilenames_map[_dummy_id] = profile_name
evt = wx.IdleEvent()
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