Mercurial > libervia-backend
comparison frontends/src/wix/chat.py @ 276:a00e87d48213
bridge, bridge constructor: fixed mix stuff
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 30 Jan 2011 22:54:58 +0100 |
parents | b1794cbb88e5 |
children | 1a990a88bff2 |
comparison
equal
deleted
inserted
replaced
275:01a0bd6e7fae | 276:a00e87d48213 |
---|---|
192 | 192 |
193 def onEnterPressed(self, event): | 193 def onEnterPressed(self, event): |
194 """Behaviour when enter pressed in send line.""" | 194 """Behaviour when enter pressed in send line.""" |
195 self.host.bridge.sendMessage(self.target.short if self.type=='group' else self.target, | 195 self.host.bridge.sendMessage(self.target.short if self.type=='group' else self.target, |
196 event.GetString(), | 196 event.GetString(), |
197 type = "groupchat" if self.type=='group' else "chat", | 197 mess_type = "groupchat" if self.type=='group' else "chat", |
198 profile_key=self.host.profile) | 198 profile_key=self.host.profile) |
199 self.textBox.Clear() | 199 self.textBox.Clear() |
200 | 200 |
201 def __blink(self): | 201 def __blink(self): |
202 """Do wizzz and buzzz to show window to user or | 202 """Do wizzz and buzzz to show window to user or |