comparison 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
comparison
equal deleted inserted replaced
566:8a607044ecfa 567:ee9c7bd266ad
28 """Add here the constants that are only used by the browser side.""" 28 """Add here the constants that are only used by the browser side."""
29 29
30 # Cached parameters, e.g those that have an incidence on UI display/refresh: 30 # Cached parameters, e.g those that have an incidence on UI display/refresh:
31 # - they can be any parameter (not necessarily specific to Libervia) 31 # - they can be any parameter (not necessarily specific to Libervia)
32 # - list them as a couple (category, name) 32 # - list them as a couple (category, name)
33 CACHED_PARAMS = [(C.COMPOSITION_KEY, C.ENABLE_UNIBOX_PARAM)] 33 CACHED_PARAMS = [(C.COMPOSITION_KEY, C.ENABLE_UNIBOX_PARAM),
34 ('General', C.SHOW_OFFLINE_CONTACTS),
35 ('General', C.SHOW_EMPTY_GROUPS),
36 ]
34 37
35 # Empty avatar 38 # Empty avatar
36 EMPTY_AVATAR = "/media/misc/empty_avatar" 39 EMPTY_AVATAR = "/media/misc/empty_avatar"