Mercurial > libervia-web
comparison src/browser/sat_browser/chat.py @ 617:5baca9d46c34 frontends_multi_profiles
browser_side: add/improve some docstrings
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 11 Feb 2015 11:21:27 +0100 |
parents | 1c0d5a87c554 |
children | 9092e624bb27 |
comparison
equal
deleted
inserted
replaced
616:1c0d5a87c554 | 617:5baca9d46c34 |
---|---|
335 self._state = state | 335 self._state = state |
336 self.refreshTitle() | 336 self.refreshTitle() |
337 self.state_machine.started = not not state # start to send "composing" state from now | 337 self.state_machine.started = not not state # start to send "composing" state from now |
338 | 338 |
339 def refreshTitle(self): | 339 def refreshTitle(self): |
340 """Refresh the title of this ChatPanel dialog""" | 340 """Refresh the title of this Chat dialog""" |
341 if self._state: | 341 if self._state: |
342 self.setTitle(self.target.bare + " (" + self._state + ")") | 342 self.setTitle(self.target.bare + " (" + self._state + ")") |
343 else: | 343 else: |
344 self.setTitle(self.target.bare) | 344 self.setTitle(self.target.bare) |
345 | 345 |