[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.10-249-g356a9f7
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:22:23 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
via 356a9f714a5a7e16502541770776bb2b549175aa (commit)
from 6fdcabf69737e3ef53d8423b4b1f412ac93ec9af (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 | 4 ++++
1 file changed, 4 insertions(+)
The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index a34f6b9..c77507b 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -983,6 +983,9 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
def HOOK_forwarding_tunnel_setup_failed(self, profile_name='UNKNOWN', session_name='UNKNOWN', chain_host='UNKNOWN', chain_port=0):
self.notifier.send(_(u'%s - session failure') % profile_name, _(u'Forwarding tunnel request to [%s]:%s for session %s was denied by remote X2go/SSH server. Session startup failed.') % (chain_host, chain_port, session_name), icon='session_error', timeout=10000)
+ if not self._hide_notifications_map.has_key(profile_name):
+ self._hide_notifications_map[profile_name] = []
+ self._hide_notfications_map[profile_name].append(session_name)
try:
self._temp_disabled_session_names[profile_name].remove(session_name)
except KeyError:
@@ -1056,6 +1059,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
def HOOK_on_session_has_been_suspended(self, session_uuid='UNKNOWN', profile_name='UNKNOWN', session_name='UNKNOWN'):
self._enable_session_name(profile_name, session_name)
if self._hide_notifications_map.has_key(profile_name) and session_name in self._hide_notifications_map[profile_name]:
+ self._hide_notifications_map[profile_name].remove(session_name)
if not self._hide_notifications_map[profile_name]:
del self._hide_notifications_map[profile_name]
else:
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