Mercurial > libervia-backend
comparison frontends/src/primitivus/status.py @ 766:6c36149524ed
primitivus: redraw after changing the presence or status
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 18 Dec 2013 07:44:35 +0100 |
parents | 378af36155c2 |
children | bfabeedbf32e |
comparison
equal
deleted
inserted
replaced
765:787ee59dba9c | 766:6c36149524ed |
---|---|
64 | 64 |
65 def setPresenceStatus(self, show, status): | 65 def setPresenceStatus(self, show, status): |
66 show_icon, show_attr = Const.PRESENCE.get(show) | 66 show_icon, show_attr = Const.PRESENCE.get(show) |
67 self.presence.set_text(('show_normal', show_icon)) | 67 self.presence.set_text(('show_normal', show_icon)) |
68 self.status.set_text((show_attr, status)) | 68 self.status.set_text((show_attr, status)) |
69 self.host.redraw() |