[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.10-95-g790e8a8
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:22:05 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
via 790e8a8264159ed12cfd132d5cdfc42a457a420d (commit)
from 007e4b3f47c194baadce0977a8ee3a23e8e13d17 (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 | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index b71f90b..5dd651c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -56,6 +56,7 @@ pyhoca-gui (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
applications.
- Add icon support for the published applications menu (any icon
type except SVGs works).
+ - On exit only suspend running sessions we are associated with.
* 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/frontend.py b/pyhoca/wxgui/frontend.py
index 74a95fe..56c8e73 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -294,7 +294,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
for _win in self._sub_windows:
_win.Close()
_win.Destroy()
- for session_obj in self._X2goClient__client_running_sessions(return_objects=True):
+ for session_obj in [ _s for _s in self._X2goClient__client_running_sessions(return_objects=True) if _s.is_associated() ]:
session_obj.suspend()
x2go.x2go_cleanup()
self.about.Close()
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