Mercurial > libervia-backend
changeset 496:024b321c1aa2
primitivus: added show and status text attributes + show icons
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 04 Sep 2012 01:12:52 +0200 (2012-09-03) |
parents | a726b234d3bf |
children | 50dd2a0196c0 |
files | frontends/src/primitivus/constants.py |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/primitivus/constants.py Mon Sep 03 23:43:15 2012 +0200 +++ b/frontends/src/primitivus/constants.py Tue Sep 04 01:12:52 2012 +0200 @@ -54,4 +54,15 @@ ('warning', 'light red', 'default'), ('progress_normal', 'default', 'black'), ('progress_complete', 'default', 'light red'), + ('show_normal', 'default', 'default'), + ('show_chat', 'dark green', 'default'), + ('show_away', 'brown', 'default'), + ('show_dnd', 'dark red', 'default'), + ('show_xa', 'dark red', 'default'), + ('status', 'yellow', 'default'), ] +__builtin__.__dict__['const_SHOW_ICON'] = {"": (u'✔', "show_normal"), + "chat": (u'✆', "show_chat"), + "away": (u'✈', "show_away"), + "dnd": (u'✖', "show_dnd"), + "xa": (u'☄', "show_xa")}