Mercurial > libervia-web
comparison src/browser/menu.py @ 464:bea9788f3170
browser and server sides: don't handle the "connectionError" signal anymore, we now use asyncConnect errback:
- TODO: allow the user to set another XMPP password with the stdui action CHANGE_XMPP_PASSWD_ID
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 23 May 2014 10:00:16 +0200 |
parents | 981ed669d3b3 |
children |
comparison
equal
deleted
inserted
replaced
463:b62c1cf0dbf7 | 464:bea9788f3170 |
---|---|
241 def onAccount(self): | 241 def onAccount(self): |
242 def gotUI(xmlui): | 242 def gotUI(xmlui): |
243 if not xmlui: | 243 if not xmlui: |
244 return | 244 return |
245 body = XMLUI(self.host, xmlui) | 245 body = XMLUI(self.host, xmlui) |
246 _dialog = dialog.GenericDialog("Manage your XMPP account", body, options=['NO_CLOSE']) | 246 _dialog = dialog.GenericDialog("Manage your account", body, options=['NO_CLOSE']) |
247 body.setCloseCb(_dialog.close) | 247 body.setCloseCb(_dialog.close) |
248 _dialog.show() | 248 _dialog.show() |
249 self.host.bridge.call('getAccountDialogUI', gotUI) | 249 self.host.bridge.call('getAccountDialogUI', gotUI) |
250 | 250 |
251 def onParameters(self): | 251 def onParameters(self): |