diff frontends/src/quick_frontend/quick_app.py @ 1043:066308706dc6

core, stdui (profile manager), quick_app: ask for another XMPP password when profile authentication succeed but XMPP connection fails
author souliane <souliane@mailoo.org>
date Wed, 21 May 2014 23:15:01 +0200
parents 5197600a1e13
children 0a9986452bba
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Wed May 21 21:14:40 2014 +0200
+++ b/frontends/src/quick_frontend/quick_app.py	Wed May 21 23:15:01 2014 +0200
@@ -236,7 +236,7 @@
         log.debug(_("Connection Error"))
         self.disconnected(profile)
         if error_type == "AUTH_ERROR":
-            self.showDialog(_("Can't connect to account, please check your password"), _("Connection error"), "error")
+            self.launchAction(C.CHANGE_XMPP_PASSWD_ID, {}, profile_key=profile)
         else:
             log.error(_('FIXME: error_type %s not implemented') % error_type)