# HG changeset patch # User Goffi # Date 1346713972 -7200 # Node ID 024b321c1aa2f2728e0986ddebd11575caae71c6 # Parent a726b234d3bf2bb734d6a43e9bbdf1ce095ba9c7 primitivus: added show and status text attributes + show icons diff -r a726b234d3bf -r 024b321c1aa2 frontends/src/primitivus/constants.py --- 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")}