Added option to show resource priority in roster

This commit is contained in:
James Booth
2015-11-18 02:14:11 +00:00
parent 4505102fa8
commit 8e84d160e6
6 changed files with 32 additions and 2 deletions

View File

@@ -603,6 +603,7 @@ _get_group(preference_t pref)
case PREF_ROSTER_BY:
case PREF_ROSTER_ORDER:
case PREF_ROSTER_COUNT:
case PREF_ROSTER_PRIORITY:
case PREF_RESOURCE_TITLE:
case PREF_RESOURCE_MESSAGE:
case PREF_ENC_WARN:
@@ -784,6 +785,8 @@ _get_key(preference_t pref)
return "roster.order";
case PREF_ROSTER_COUNT:
return "roster.count";
case PREF_ROSTER_PRIORITY:
return "roster.priority";
case PREF_RESOURCE_TITLE:
return "resource.title";
case PREF_RESOURCE_MESSAGE:
@@ -839,6 +842,7 @@ _get_default_boolean(preference_t pref)
case PREF_ROSTER_STATUS:
case PREF_ROSTER_EMPTY:
case PREF_ROSTER_COUNT:
case PREF_ROSTER_PRIORITY:
case PREF_TLS_SHOW:
case PREF_LASTACTIVITY:
return TRUE;

View File

@@ -70,6 +70,7 @@ typedef enum {
PREF_ROSTER_BY,
PREF_ROSTER_ORDER,
PREF_ROSTER_COUNT,
PREF_ROSTER_PRIORITY,
PREF_MUC_PRIVILEGES,
PREF_PRESENCE,
PREF_WRAP,