Mercurial > libervia-backend
comparison frontends/src/wix/main_window.py @ 513:8ee9113d307b
core, quick_frontend, primitivus, wixi, bridge: fixed delayed message timestamp:
- new "extra" parameter in newMessage signal
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 20 Oct 2012 17:23:56 +0200 |
parents | 886754295efe |
children | 2c4016921403 |
comparison
equal
deleted
inserted
replaced
512:862c0d6ab974 | 513:8ee9113d307b |
---|---|
178 wx.EVT_MENU(self, idSHOW_PROFILE, self.onShowProfile) | 178 wx.EVT_MENU(self, idSHOW_PROFILE, self.onShowProfile) |
179 wx.EVT_MENU(self, idJOIN_ROOM, self.onJoinRoom) | 179 wx.EVT_MENU(self, idJOIN_ROOM, self.onJoinRoom) |
180 wx.EVT_MENU(self, idFIND_GATEWAYS, self.onFindGateways) | 180 wx.EVT_MENU(self, idFIND_GATEWAYS, self.onFindGateways) |
181 | 181 |
182 | 182 |
183 def newMessage(self, from_jid, to_jid, msg, _type, profile): | 183 def newMessage(self, from_jid, to_jid, msg, _type, extra, profile): |
184 QuickApp.newMessage(self, from_jid, to_jid, msg, _type, profile) | 184 QuickApp.newMessage(self, from_jid, to_jid, msg, _type, extra, profile) |
185 | 185 |
186 def showAlert(self, message): | 186 def showAlert(self, message): |
187 # TODO: place this in a separate class | 187 # TODO: place this in a separate class |
188 popup=wx.PopupWindow(self) | 188 popup=wx.PopupWindow(self) |
189 ### following code come from wxpython demo | 189 ### following code come from wxpython demo |