[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.6-37-g626410a

X2go dev team git-admin at x2go.org
Tue Sep 20 17:04:57 CEST 2011


The branch, master 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 -----------------------------------------------------------------
commit 626410a639380a6a6b54840e0af42790ce02bf44
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Sep 20 17:05:38 2011 +0200

    Suspend running sessions properly on application exit (or STRG-C in terminal window if run from the command line).

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog         |    2 ++
 pyhoca/wxgui/frontend.py |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

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