# HG changeset patch # User souliane # Date 1449624829 -3600 # Node ID 3c5b17a3d86ea7df05e14ddc367ea0025ec6115f # Parent 6f2200d720d530ff19f8882f0f83e866e3fd5ad3 browser_side: run login callback before window alert so the background starts to be filled before the user clicks diff -r 6f2200d720d5 -r 3c5b17a3d86e src/browser/sat_browser/register.py --- a/src/browser/sat_browser/register.py Wed Dec 09 02:31:52 2015 +0100 +++ b/src/browser/sat_browser/register.py Wed Dec 09 02:33:49 2015 +0100 @@ -211,8 +211,8 @@ # TODO: call stdui action CHANGE_XMPP_PASSWD_ID as it's done in primitivus Window.alert(_(u'Your SàT profile has been authenticated but the associated XMPP account failed to connect. Please use another SàT frontend to set another XMPP password.')) elif result == C.PROFILE_LOGGED_REGISTERED_WITH_EXT_JID: + self.callback() Window.alert(_('A profile has been created on this Libervia service using your existing XMPP account. Since you are not using our XMPP server, we can not guaranty that all the extra features (blog, directory...) will fully work.')) - self.callback() elif result == C.PROFILE_LOGGED: self.callback() elif result == C.SESSION_ACTIVE: