# HG changeset patch # User souliane # Date 1412587243 -7200 # Node ID 4da2e4d58bd003a2c98f2e8dd84ef6f94052836b # Parent 72f25d67136897b11684799efbb5a2772804392f memory (params): add parameters "Show offline contacts" and "Show empty groups" diff -r 72f25d671368 -r 4da2e4d58bd0 src/core/constants.py --- a/src/core/constants.py Mon Oct 06 11:18:37 2014 +0200 +++ b/src/core/constants.py Mon Oct 06 11:20:43 2014 +0200 @@ -46,6 +46,8 @@ GENERAL = "general" # General parameters HISTORY_LIMIT = "History" + SHOW_OFFLINE_CONTACTS = "Offline contacts" + SHOW_EMPTY_GROUPS = "Empty groups" # Parameters related to connection FORCE_SERVER_PARAM = "Force server" FORCE_PORT_PARAM = "Force port" diff -r 72f25d671368 -r 4da2e4d58bd0 src/memory/params.py --- a/src/memory/params.py Mon Oct 06 11:18:37 2014 +0200 +++ b/src/memory/params.py Mon Oct 06 11:20:43 2014 +0200 @@ -45,6 +45,8 @@ + + @@ -66,6 +68,10 @@ 'category_connection': D_("Connection"), 'history_param': C.HISTORY_LIMIT, 'history_label': D_('Chat history limit'), + 'show_offline_contacts': C.SHOW_OFFLINE_CONTACTS, + 'show_offline_contacts_label': D_('Show offline contacts'), + 'show_empty_groups': C.SHOW_EMPTY_GROUPS, + 'show_empty_groups_label': D_('Show empty groups'), 'force_server_param': C.FORCE_SERVER_PARAM, 'force_port_param': C.FORCE_PORT_PARAM, 'new_account_label': D_("Register new account"),