diff frontends/src/primitivus/constants.py @ 501:e9634d2e7b38

core, quick_frontend, primitivus, wix: Contacts List refactoring phase 1: - QuickContactManagement is not used anymore and will be removed, ContactList + Core are used instead - disconnected contacts are now displayed in Primitivus (M-d to show/hide them) - avatars are temporary unavailable in wix - new bridge method: getContactsFromGroup
author Goffi <goffi@goffi.org>
date Tue, 25 Sep 2012 00:58:34 +0200
parents 9cc2ffd293f2
children ca13633d3b6b
line wrap: on
line diff
--- a/frontends/src/primitivus/constants.py	Wed Sep 05 00:19:32 2012 +0200
+++ b/frontends/src/primitivus/constants.py	Tue Sep 25 00:58:34 2012 +0200
@@ -54,6 +54,7 @@
     ('warning', 'light red', 'default'),
     ('progress_normal', 'default', 'black'),
     ('progress_complete', 'default', 'light red'),
+    ('show_disconnected', 'dark gray', 'default'),
     ('show_normal', 'default', 'default'),
     ('show_normal_focus', 'default, bold', 'default'),
     ('show_chat', 'dark green', 'default'),
@@ -67,7 +68,8 @@
     ('status', 'yellow', 'default'),
     ('status_focus', 'yellow, bold', 'default'),
     ]
-__builtin__.__dict__['const_SHOW_ICON'] = {"": (u'✔', "show_normal"),
+__builtin__.__dict__['const_SHOW_ICON'] = {"unavailable": (u'⨯', "show_disconnected"), 
+                                          "": (u'✔', "show_normal"),
                                           "chat": (u'✆', "show_chat"),
                                           "away": (u'✈', "show_away"),
                                           "dnd": (u'✖', "show_dnd"),