comparison frontends/wix/main_window.py @ 102:94011f553cd0

misc bugfixes - wix: added forgotten profile in gateways management - xml_tools: removed XMLClass to the 2 methods as a direct methods - plugin_xep_100 (gateways discovery): added error callback
author Goffi <goffi@goffi.org>
date Tue, 22 Jun 2010 13:58:53 +0800
parents 783e9d6980ec
children 6be927a465ed
comparison
equal deleted inserted replaced
101:783e9d6980ec 102:94011f553cd0
450 else: 450 else:
451 error (_("'%s' is an invalid JID !"), room_jid) 451 error (_("'%s' is an invalid JID !"), room_jid)
452 452
453 def onFindGateways(self, e): 453 def onFindGateways(self, e):
454 debug(_("Find Gateways request")) 454 debug(_("Find Gateways request"))
455 id = self.bridge.findGateways(self.profiles[self.profile]['whoami'].domain) 455 id = self.bridge.findGateways(self.profiles[self.profile]['whoami'].domain, self.profile)
456 self.current_action_ids.add(id) 456 self.current_action_ids.add(id)
457 self.current_action_ids_cb[id] = self.onGatewaysFound 457 self.current_action_ids_cb[id] = self.onGatewaysFound
458 458
459 def onGatewaysFound(self, data): 459 def onGatewaysFound(self, data):
460 """Called when SàT has found the server gateways""" 460 """Called when SàT has found the server gateways"""