diff frontends/src/wix/main_window.py @ 1059:b2b9c184033f

core, frontends: remove bridge method "connect" (always use asyncConnect)
author souliane <souliane@mailoo.org>
date Fri, 23 May 2014 10:40:54 +0200
parents c4c14480715a
children aa15453ec54d
line wrap: on
line diff
--- a/frontends/src/wix/main_window.py	Thu May 29 14:34:01 2014 +0200
+++ b/frontends/src/wix/main_window.py	Fri May 23 10:40:54 2014 +0200
@@ -391,7 +391,7 @@
             self.chat_wins[jid.bare].Show()
 
     def onConnectRequest(self, e):
-        self.bridge.connect(self.profile)
+        self.bridge.asyncConnect(self.profile, callback=lambda dummy: None)
 
     def onDisconnectRequest(self, e):
         self.bridge.disconnect(self.profile)