[X2Go-Commits] [pyhoca-gui] 02/03: brokerlogon: fix notification icons

git-admin at x2go.org git-admin at x2go.org
Wed Mar 19 14:55:14 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 995a9fab31a0eab855a315b2e2a3013a9bddfb83
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Mar 19 14:53:02 2014 +0100

    brokerlogon: fix notification icons
---
 pyhoca/wxgui/brokerlogon.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyhoca/wxgui/brokerlogon.py b/pyhoca/wxgui/brokerlogon.py
index 14fbe7e..4996064 100644
--- a/pyhoca/wxgui/brokerlogon.py
+++ b/pyhoca/wxgui/brokerlogon.py
@@ -174,12 +174,12 @@ class PyHocaGUI_BrokerDialogBoxPassword(wx.Dialog):
 
         self._PyHocaGUI.session_profiles.set_broker_url(broker_url)
         if self._PyHocaGUI.session_profiles.broker_simpleauth(username, password):
-            self._PyHocaGUI.notifier.send(_(u"%s - success") % self._PyHocaGUI.broker_name, _(u"Authentication to session broker has been\nsuccessful."), icon='success', timeout=10000)
+            self._PyHocaGUI.notifier.send(_(u"%s - success") % self._PyHocaGUI.broker_name, _(u"Authentication to session broker has been\nsuccessful."), icon='auth_success', timeout=10000)
             self._PyHocaGUI.session_profiles.populate_session_profiles()
             self.Close()
             self.Destroy()
         else:
-            self._PyHocaGUI.notifier.send(_(u"%s - failure") % self._PyHocaGUI.broker_name, _(u"Authentication to session broker failed."), icon='success', timeout=10000)
+            self._PyHocaGUI.notifier.send(_(u"%s - failure") % self._PyHocaGUI.broker_name, _(u"Authentication to session broker failed."), icon='auth_failed', timeout=10000)
             self.Close()
             self.Destroy()
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git



More information about the x2go-commits mailing list