[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: fa977ad2246a3e59f8a52e42f75271a87de79b0c
X2Go dev team
git-admin at x2go.org
Sat Sep 14 15:54:20 CEST 2013
The branch, twofactorauth has been updated
via fa977ad2246a3e59f8a52e42f75271a87de79b0c (commit)
from 406b4426ccc0c076852a9908d4646a3d7b45c7ed (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
pyhoca/wxgui/notify.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/pyhoca/wxgui/notify.py b/pyhoca/wxgui/notify.py
index 93351b3..d40d13a 100644
--- a/pyhoca/wxgui/notify.py
+++ b/pyhoca/wxgui/notify.py
@@ -89,6 +89,12 @@ class libnotify_NotifierPopup(object):
pass
+class _DirectTipProvider(wx.TipProvider):
+ def __init__(self, tip_text):
+ self._direct_tip = tip_text
+ def GetTip(self):
+ return self._direct_tip
+
class win32gui_NotifierPopup(object):
title = {}
@@ -118,7 +124,7 @@ class win32gui_NotifierPopup(object):
except KeyError:
pass
- _tip_provider = wx.PyTipProvider('%s: %s' % (title, text))
+ _tip_provider = _DirectTipProvider('%s: %s' % (title, text))
wx.ShowTip(_tip_provider)
self._pyhoca_logger(text, loglevel=log.loglevel_NOTICE)
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