[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.2.1.1-49-gd7469c3

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


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  d7469c3a8e395de6fbdcf5a514c5ed5ce48c57ec (commit)
      from  4966ddd53b72e3e3a6563c74198155efeae871e2 (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/listdesktops.py |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 88e048f..65cd000 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,8 @@ pyhoca-gui (0.4.0.0-0~x2go1) UNRELEASED; urgency=low
       activate auto-starting/-resuming of sessions.
     - Add support for desktop sharing in PyHoca-GUI. Requires X2Go Server
       4.1.0.0 and above. (Fixes: #37).
+    - Filter out other session types than desktop sessions from the list
+      of sharable desktops.
   * /debian/control:
     + Thanks to Orion's patch in bug #91 we can drop many build dependencies.
     + Versioned Depend: on python-x2go (>= 0.4.0.0-0~).
diff --git a/pyhoca/wxgui/listdesktops.py b/pyhoca/wxgui/listdesktops.py
index 0e54a38..5775f37 100644
--- a/pyhoca/wxgui/listdesktops.py
+++ b/pyhoca/wxgui/listdesktops.py
@@ -179,7 +179,7 @@ class PyHocaGUI_DialogBoxListDesktops(wx.Dialog):
         self.desktopList.DeleteAllItems()
         self.listed_desktops = {}
         self.list_index = 0
-        desktops = self._PyHocaGUI._X2GoClient__list_desktops(profile_name=self.current_profile_name)
+        desktops = self._PyHocaGUI._X2GoClient__list_desktops(profile_name=self.current_profile_name, exclude_session_types=['R', 'S', 'P'])
         for desktop in desktops:
             if len(desktop.split('@')) >= 2:
                 display = desktop.split('@')[0]


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