comparison frontends/wix/main_window.py @ 67:0e50dd3a234a

message sending bug fixes + sortilege update - sortilege now use default profile. /!\ sortilege is really buggy currently, need some attention
author Goffi <goffi@goffi.org>
date Thu, 04 Feb 2010 01:06:36 +1100
parents 8147b4f40809
children 9b842086d915
comparison
equal deleted inserted replaced
66:8147b4f40809 67:0e50dd3a234a
288 wx.EVT_MENU(self, idREMOVE_CONTACT, self.onRemoveContact) 288 wx.EVT_MENU(self, idREMOVE_CONTACT, self.onRemoveContact)
289 wx.EVT_MENU(self, idSHOW_PROFILE, self.onShowProfile) 289 wx.EVT_MENU(self, idSHOW_PROFILE, self.onShowProfile)
290 wx.EVT_MENU(self, idFIND_GATEWAYS, self.onFindGateways) 290 wx.EVT_MENU(self, idFIND_GATEWAYS, self.onFindGateways)
291 291
292 292
293 def newMessage(self, from_jid, msg, type, to_jid): 293 def newMessage(self, from_jid, msg, type, to_jid, profile):
294 QuickApp.newMessage(self, from_jid, msg, type, to_jid) 294 QuickApp.newMessage(self, from_jid, msg, type, to_jid, profile)
295 295
296 def showAlert(self, message): 296 def showAlert(self, message):
297 # TODO: place this in a separate class 297 # TODO: place this in a separate class
298 popup=wx.PopupWindow(self) 298 popup=wx.PopupWindow(self)
299 ### following code come from wxpython demo 299 ### following code come from wxpython demo