[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.2.0.4-12-gb8235fc
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:22:31 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
via b8235fc8bdd2710ca896d64c25e063a00eade1c6 (commit)
from d2cfd08a175648e8bc5db432e0a6803ba899ea73 (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 | 8 ++++++++
2 files changed, 9 insertions(+)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 8c8fb88..65536a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ pyhoca-gui (0.2.0.5-0~x2go1) UNRELEASED; urgency=low
- Make DirectRDP sessions configurable through PyHoca-GUI profile manager.
- Slight change in internal message box API, rename custom_message class
option to msg.
+ - Add a warning message box that DirectRDP is not yet supported by PyHoca-GUI.
* /debian/control:
+ Add Oleksandr Shneyder to Uploaders.
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index cee4528..d5bc355 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -716,6 +716,14 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
"""
profile_name = self._eventid_profilenames_map[evt.GetId()]
+ if self.session_profiles.get_profile_config(profile_name)['directrdp']:
+ m = messages.PyHoca_MessageWindow_Ok(self,
+ title=_(u'%s: DirectRDP not supported yet') % self.appname,
+ msg=_(u'We apologize for the inconvenience...\n\nSession profiles of type ,,DirectRDP\'\'are not\nsupported by %s (%s), yet!!\n\nDirectRDP support will be available in %s >= 0.2.2.0.' % (self.appname, self.version, self.appname)),
+ icon='warning',
+ profile_name=profile_name)
+ m.ShowModal()
+ return
self.taskbar.SetIconConnecting(profile_name)
if session_uuid is None:
session_uuid = self._X2goClient__register_session(profile_name=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