diff frontends/src/wix/main_window.py @ 1060:aa15453ec54d

core (xmpp), stdui (profile_manager), bridge, frontends: raise an exception if the XMPP connection failed instead of sending a signal
author souliane <souliane@mailoo.org>
date Fri, 23 May 2014 09:59:35 +0200
parents b2b9c184033f
children 6ec513ad92c2
line wrap: on
line diff
--- a/frontends/src/wix/main_window.py	Fri May 23 10:40:54 2014 +0200
+++ b/frontends/src/wix/main_window.py	Fri May 23 09:59:35 2014 +0200
@@ -391,7 +391,7 @@
             self.chat_wins[jid.bare].Show()
 
     def onConnectRequest(self, e):
-        self.bridge.asyncConnect(self.profile, callback=lambda dummy: None)
+        QuickApp.asyncConnect(self, self.profile)
 
     def onDisconnectRequest(self, e):
         self.bridge.disconnect(self.profile)