diff 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
line wrap: on
line diff
--- a/frontends/src/wix/main_window.py	Thu Mar 27 02:24:20 2014 +0100
+++ b/frontends/src/wix/main_window.py	Thu Mar 27 10:36:20 2014 +0100
@@ -484,14 +484,14 @@
             dlg.ShowModal()
             dlg.Destroy()
             return
-        _id = self.bridge.getCard(target.bare, profile_key=self.profile)
+        _id = self.bridge.getCard(target.bare, self.profile)
         self.current_action_ids.add(_id)
         self.current_action_ids_cb[_id] = self.onProfileReceived
 
     def onProfileReceived(self, data):
         """Called when a profile is received"""
         debug (_('Profile received: [%s]') % data)
-        profile=Profile(self, data)
+        Profile(self, data)
 
     def onJoinRoom(self, e):
         warning('FIXME: temporary menu, must be improved')