comparison 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
comparison
equal deleted inserted replaced
1059:b2b9c184033f 1060:aa15453ec54d
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.asyncConnect(self.profile, callback=lambda dummy: None) 394 QuickApp.asyncConnect(self, self.profile)
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):