[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.8-10-g626410a
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:21:48 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
via 626410a639380a6a6b54840e0af42790ce02bf44 (commit)
from 57c379d53d8e6e0965779beb52aefb70682b0608 (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/frontend.py | 2 ++
2 files changed, 4 insertions(+)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index ed6ee1e..cd937cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ pyhoca-gui (0.1.0.9-0~x2go1) UNRELEASED; urgency=low
* New upstream version (0.1.0.9):
- Add folder unsharing (umount) support.
- Update of en/de translation files.
+ - Suspend running sessions properly on application exit (or STRG-C in
+ terminal window if run from the command line).
* Depend on python-x2go (>=0.1.1.7).
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Wed, 14 Sep 2011 21:49:08 +0200
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 0b7a8d4..14a8542 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -280,6 +280,8 @@ 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):
+ session_obj.suspend()
x2go.x2go_cleanup()
self.about.Close()
self.about.Destroy()
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