comparison 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
comparison
equal deleted inserted replaced
1058:0a9986452bba 1059:b2b9c184033f
389 self.chat_wins[jid.bare].Hide() 389 self.chat_wins[jid.bare].Hide()
390 else: 390 else:
391 self.chat_wins[jid.bare].Show() 391 self.chat_wins[jid.bare].Show()
392 392
393 def onConnectRequest(self, e): 393 def onConnectRequest(self, e):
394 self.bridge.connect(self.profile) 394 self.bridge.asyncConnect(self.profile, callback=lambda dummy: None)
395 395
396 def onDisconnectRequest(self, e): 396 def onDisconnectRequest(self, e):
397 self.bridge.disconnect(self.profile) 397 self.bridge.disconnect(self.profile)
398 398
399 def __updateStatus(self): 399 def __updateStatus(self):