diff src/browser/sat_browser/constants.py @ 567:ee9c7bd266ad

browser_side: implements "Show offline contacts" and "Show empty groups" parameters
author souliane <souliane@mailoo.org>
date Mon, 06 Oct 2014 12:47:03 +0200
parents 0bbbef1d53a8
children a5019e62c3e9
line wrap: on
line diff
--- a/src/browser/sat_browser/constants.py	Sat Oct 04 10:28:20 2014 +0200
+++ b/src/browser/sat_browser/constants.py	Mon Oct 06 12:47:03 2014 +0200
@@ -30,7 +30,10 @@
     # Cached parameters, e.g those that have an incidence on UI display/refresh:
     #     - they can be any parameter (not necessarily specific to Libervia)
     #     - list them as a couple (category, name)
-    CACHED_PARAMS = [(C.COMPOSITION_KEY, C.ENABLE_UNIBOX_PARAM)]
+    CACHED_PARAMS = [(C.COMPOSITION_KEY, C.ENABLE_UNIBOX_PARAM),
+                     ('General', C.SHOW_OFFLINE_CONTACTS),
+                     ('General', C.SHOW_EMPTY_GROUPS),
+                     ]
 
     # Empty avatar
     EMPTY_AVATAR = "/media/misc/empty_avatar"