Mercurial > libervia-backend
comparison frontends/src/wix/main_window.py @ 939:01342bfe9f41
wix: fixed onShowProfile
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 27 Mar 2014 10:36:20 +0100 |
parents | cd02f5ef30df |
children | 3a96920c07b7 |
comparison
equal
deleted
inserted
replaced
938:fc7e0828b18e | 939:01342bfe9f41 |
---|---|
482 wx.OK | wx.ICON_ERROR | 482 wx.OK | wx.ICON_ERROR |
483 ) | 483 ) |
484 dlg.ShowModal() | 484 dlg.ShowModal() |
485 dlg.Destroy() | 485 dlg.Destroy() |
486 return | 486 return |
487 _id = self.bridge.getCard(target.bare, profile_key=self.profile) | 487 _id = self.bridge.getCard(target.bare, self.profile) |
488 self.current_action_ids.add(_id) | 488 self.current_action_ids.add(_id) |
489 self.current_action_ids_cb[_id] = self.onProfileReceived | 489 self.current_action_ids_cb[_id] = self.onProfileReceived |
490 | 490 |
491 def onProfileReceived(self, data): | 491 def onProfileReceived(self, data): |
492 """Called when a profile is received""" | 492 """Called when a profile is received""" |
493 debug (_('Profile received: [%s]') % data) | 493 debug (_('Profile received: [%s]') % data) |
494 profile=Profile(self, data) | 494 Profile(self, data) |
495 | 495 |
496 def onJoinRoom(self, e): | 496 def onJoinRoom(self, e): |
497 warning('FIXME: temporary menu, must be improved') | 497 warning('FIXME: temporary menu, must be improved') |
498 #TODO: a proper MUC room joining dialog with nickname etc | 498 #TODO: a proper MUC room joining dialog with nickname etc |
499 dlg = wx.TextEntryDialog( | 499 dlg = wx.TextEntryDialog( |