[X2Go-Commits] [pyhoca-gui] 01/01: brokerlogin.py: Fix parameter error when evoking message box.
git-admin at x2go.org
git-admin at x2go.org
Fri Oct 17 13:54:00 CEST 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 55651b6633038953749424e2bfb19b9d62834183
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Oct 17 13:53:56 2014 +0200
brokerlogin.py: Fix parameter error when evoking message box.
---
debian/changelog | 1 +
pyhoca/wxgui/brokerlogon.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 82044e1..de71e63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -75,6 +75,7 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low
non-valid-anymore event IDs.
- pyhoca-gui.desktop: Set Categories: to Network;RemoteAccess;.
- setup.py: Install .mo files into DESTDIR.
+ - brokerlogin.py: Fix parameter error when evoking message box.
* debian/control:
+ Add D (bin:package pyhoca-gui): python-cups. (Fixes: #460).
* pyhoca-gui.spec:
diff --git a/pyhoca/wxgui/brokerlogon.py b/pyhoca/wxgui/brokerlogon.py
index 47e7f0a..6e59995 100644
--- a/pyhoca/wxgui/brokerlogon.py
+++ b/pyhoca/wxgui/brokerlogon.py
@@ -171,7 +171,7 @@ class PyHocaGUI_BrokerDialogBoxPassword(wx.Dialog):
self.Close()
self.Destroy()
except x2go.x2go_exceptions.X2GoBrokerConnectionException:
- m = messages.PyHoca_MessageWindow_YesNo(self, title=_(u'%s: Connection refused error') % self._PyHocaGUI.appname, msg=_(u'Connection to %s failed. Retry?') % self._PyHocaGUI.broker_name, icon='connect_error')
+ m = messages.PyHoca_MessageWindow_YesNo(self._PyHocaGUI, title=_(u'%s: Connection refused error') % self._PyHocaGUI.appname, msg=_(u'Connection to %s failed. Retry?') % self._PyHocaGUI.broker_name, icon='connect_error')
m.ShowModal()
if m.No():
self.Close()
--
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