comparison frontends/wix/main_window.py @ 64:d46f849664aa

SàT: multi-profile, plugins updated - core: 2 new convenient methods: getJidNStream and getClient - new param in plugin info: "handler" to know if there is a handler to plug on profiles clients - plugins with handler now use an other class which is returned to profile client with the new method "getHandler" and pluged when connecting
author Goffi <goffi@goffi.org>
date Sat, 30 Jan 2010 16:17:33 +1100
parents a5b5fb5fc9fd
children 8147b4f40809
comparison
equal deleted inserted replaced
63:0db25931b60d 64:d46f849664aa
519 wx.OK | wx.ICON_ERROR 519 wx.OK | wx.ICON_ERROR
520 ) 520 )
521 dlg.ShowModal() 521 dlg.ShowModal()
522 dlg.Destroy() 522 dlg.Destroy()
523 return 523 return
524 id = self.bridge.getProfile(target.short) 524 id = self.bridge.getCard(target.short)
525 self.current_action_ids.add(id) 525 self.current_action_ids.add(id)
526 self.current_action_ids_cb[id] = self.onProfileReceived 526 self.current_action_ids_cb[id] = self.onProfileReceived
527 527
528 def onProfileReceived(self, data): 528 def onProfileReceived(self, data):
529 """Called when a profile is received""" 529 """Called when a profile is received"""