Mercurial > libervia-backend
comparison frontends/src/primitivus/chat.py @ 2015:20fb71b656e3
quick_frontend, primitivus (contact_list): improved and simplified handling of "special" entities:
- special_extras has been removed
- specials handle all entities (bare + full) in a single set
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 24 Jul 2016 17:47:09 +0200 |
parents | b536dd121da1 |
children | 7199e6bdb94e |
comparison
equal
deleted
inserted
replaced
2014:0694a2611bad | 2015:20fb71b656e3 |
---|---|
551 """Refresh or scroll down the focus after the history is printed""" | 551 """Refresh or scroll down the focus after the history is printed""" |
552 self.printMessages(clear=False) | 552 self.printMessages(clear=False) |
553 super(Chat, self)._onHistoryPrinted() | 553 super(Chat, self)._onHistoryPrinted() |
554 | 554 |
555 def onPrivateCreated(self, widget): | 555 def onPrivateCreated(self, widget): |
556 self.host.contact_lists[widget.profile].specialResourceVisible(widget.target) | 556 self.host.contact_lists[widget.profile].setSpecial(widget.target, C.CONTACT_SPECIAL_GROUP) |
557 | 557 |
558 def onSelected(self): | 558 def onSelected(self): |
559 self.focus_marker_set = False | 559 self.focus_marker_set = False |
560 | 560 |
561 def notify(self, contact="somebody", msg=""): | 561 def notify(self, contact="somebody", msg=""): |