[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.4-1-g9a85fb6

X2go dev team git-admin at x2go.org
Fri Jun 24 16:41:27 CEST 2011


The branch, master has been updated
       via  9a85fb6b8f6f602f69e27afe162e3c59b5c5e47a (commit)
      from  cc4c21974d27110ac7f48b34f8990cddd6d0d0f4 (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 9a85fb6b8f6f602f69e27afe162e3c59b5c5e47a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Jun 24 16:40:34 2011 +0200

    Fix for new color depth filter feature if the session is not registered any more.

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

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

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 728d71b..ee8a033 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+pyhoca-gui (0.1.0.5-0~x2go1) UNRELEASED; urgency=low
+
+  * New upstream version (0.1.0.5):
+    - bugfix release
+    - Fix for new color depth filter feature if the session is not registered 
+      any more.
+
+ -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Fri, 24 Jun 2011 16:39:24 +0200
+
 pyhoca-gui (0.1.0.4-0~x2go1) unstable; urgency=low
 
   New upstream version (0.1.0.4):
diff --git a/pyhoca/wxgui/menus_taskbar.py b/pyhoca/wxgui/menus_taskbar.py
index 90d6b93..31fc744 100644
--- a/pyhoca/wxgui/menus_taskbar.py
+++ b/pyhoca/wxgui/menus_taskbar.py
@@ -155,7 +155,7 @@ class PyHocaGUI_Menu_TaskbarSessionActions(wx.Menu):
 
         if status == 'S':
 
-            if _s.is_color_depth_ok():
+            if _s is not None and _s.is_color_depth_ok():
                 self.Append(text=_("Resume Session"), id=ID_RESUMESESSION)
             else:
                 _rs = self.Append(text=_(u"Resume Session (disabled)"), id=ID_RESUMESESSION_DISABLED)
@@ -165,7 +165,7 @@ class PyHocaGUI_Menu_TaskbarSessionActions(wx.Menu):
 
             if not session_name in self._PyHocaGUI.client_associated_sessions_of_profile_name(profile_name, return_session_names=True):
 
-                if _s.is_color_depth_ok():
+                if _s is not None and _s.is_color_depth_ok():
                     self.Append(text=_(u"Transfer Session"), id=ID_TRANSFERSESSION)
                 else:
                     _ts = self.Append(text=_(u"Transfer Session (disabled)"), id=ID_TRANSFERSESSION_DISABLED)


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