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

X2go dev team git-admin at x2go.org
Mon Jun 20 12:52:41 CEST 2011


The branch, master has been updated
       via  43f3d53d46687eed835a3202eda482738cfe1659 (commit)
      from  c8bb328e8db95a7e9056f92909681c3ae62492bf (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 43f3d53d46687eed835a3202eda482738cfe1659
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Jun 20 12:52:27 2011 +0200

    Fix for busy cursor on Windows

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

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

The diff of changes is:
diff --git a/pyhoca/wxgui/logon.py b/pyhoca/wxgui/logon.py
index 2363d98..05a4bd1 100644
--- a/pyhoca/wxgui/logon.py
+++ b/pyhoca/wxgui/logon.py
@@ -337,7 +337,9 @@ class PyHocaGUI_DialogBoxPassword(wx.Frame):
         self._PyHocaGUI.notifier.send(self.current_profile_name, context='AUTH_%s' % self.current_profile_name, timeout=4000)
         self.Close()
         wx.SetCursor(wx.StockCursor(wx.CURSOR_ARROW))
-        wx.EndBusyCursor()
+        # Windows's GUI is more picky then Linux's GTK GUI about EndBusyCursor if cursor is not busy...
+        try: wx.EndBusyCursor()
+        except: pass
 
         if connect_failed and self._PyHocaGUI.exit_on_disconnect:
             self._PyHocaGUI.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