[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.10-95-g790e8a8

X2Go dev team git-admin at x2go.org
Mon Mar 12 16:52:08 CET 2012


The branch, master 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 -----------------------------------------------------------------
commit 790e8a8264159ed12cfd132d5cdfc42a457a420d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Mar 12 16:22:53 2012 +0100

    On exit only suspend running sessions we are associated with.

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

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

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