Mercurial > libervia-web
comparison src/browser/sat_browser/editor_widget.py @ 684:e876f493dccc
browser_side: follow changes made on quick_frontend for chat states and MUC symbols + minor fixes following the refactorisation:
- some MUC handlers are no more needed, the presence handler is enough
- move the chat states logic to quick_frontend
- display MUC games symbols
- remove classes contact_list.ContactsPanel, contact_panel.Occupant and contact_panel.OccupantsList
- move buildPresenceStyle and setPresenceStyle to html_tools
- fixes games menu callback
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 18 Mar 2015 10:17:04 +0100 |
parents | 6d3142b782c3 |
children | 9877607c719a |
comparison
equal
deleted
inserted
replaced
683:801eb94aa869 | 684:e876f493dccc |
---|---|
73 else: | 73 else: |
74 self._onComposing() | 74 self._onComposing() |
75 | 75 |
76 def _onComposing(self): | 76 def _onComposing(self): |
77 """Callback when the user is composing a text.""" | 77 """Callback when the user is composing a text.""" |
78 self.host.selected_widget.state_machine._onEvent("composing") | 78 self.host.selected_widget.chat_state_machine._onEvent("composing") |
79 | 79 |
80 def onMouseUp(self, sender, x, y): | 80 def onMouseUp(self, sender, x, y): |
81 size = (self.getOffsetWidth(), self.getOffsetHeight()) | 81 size = (self.getOffsetWidth(), self.getOffsetHeight()) |
82 if size != self.size: | 82 if size != self.size: |
83 self.size = size | 83 self.size = size |