[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.10-80-g4655b0b

X2Go dev team git-admin at x2go.org
Tue Aug 27 13:22:03 CEST 2013


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  4655b0b4c90d061d39b229bee7fcb4db93a7cfd5 (commit)
      from  614c2ab2a202a5a7ce45c3116e4c8a9456f36fd4 (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              |    2 ++
 pyhoca/wxgui/menus_taskbar.py |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index c1cd4f7..e5b2a95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,8 @@ pyhoca-gui (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
     - Hook methods that notify about non-availabilities around printing,
       MIME box, local folder sharing.
     - Update i18n files: en, de.
+    - Only allow session window manipulations for sessions that are associated
+      to the running PyHoca-GUI client.
   * Depend on Python X2Go 0.1.2.0.
   * Install GNOME icons via dh_links.
   * Install X2Go icons with explicit install paths.
diff --git a/pyhoca/wxgui/menus_taskbar.py b/pyhoca/wxgui/menus_taskbar.py
index b582a98..b947e66 100644
--- a/pyhoca/wxgui/menus_taskbar.py
+++ b/pyhoca/wxgui/menus_taskbar.py
@@ -192,7 +192,7 @@ class PyHocaGUI_Menu_TaskbarSessionActions(wx.Menu):
 
         self.Append(text=_(u"Terminate Session"), id=ID_TERMINATESESSION)
 
-        if _s.get_session_cmd() in x2go.defaults.X2GO_DESKTOPSESSIONS and status == 'R':
+        if _s.get_session_cmd() in x2go.defaults.X2GO_DESKTOPSESSIONS and status == 'R' and _s in self._PyHocaGUI.client_associated_sessions_of_profile_name(profile_name, return_session_names=True):
 
             self.AppendSeparator()
             self.Append(text=_("Rename Session Window"), id=ID_RENAMESESSION)


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