[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.2-16-g6776dbf

X2go dev team git-admin at x2go.org
Thu Jun 23 00:43:31 CEST 2011


The branch, master has been updated
       via  6776dbfb62c89009be269ee96b7544b01202f4ca (commit)
      from  a47515c812d9cce9d61602d0eed4d070c4554703 (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 6776dbfb62c89009be269ee96b7544b01202f4ca
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Jun 23 00:43:42 2011 +0200

    Fix faulty X2goClient method call on DisconnectSession.

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

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

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index f9ae74d..7fa0d22 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -527,8 +527,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
         # disconnect all profile sessions
         if self._X2goClient__server_is_alive(session_uuid):
             self._X2goClient__disconnect_profile(self.current_profile_name)
-            if not self._X2goClient__is_session_connected(session_uuid):
-                self.notifier.send(_(u'%s - disconnect') % self.current_profile_name, _(u'X2go Profile is now disconnected.'), icon='auth_disconnect', timeout=4000)
+            self.notifier.send(_(u'%s - disconnect') % self.current_profile_name, _(u'X2go Profile is now disconnected.'), icon='auth_disconnect', timeout=4000)
         if self.exit_on_disconnect:
             self._pyhoca_logger('Exiting %s because %s got disconnected.' % (self.appname, self.current_profile_name), loglevel=x2go.loglevel_NOTICE)
             self.WakeUpIdle()


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