mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 04:36:22 +00:00
Added preferences for showing resource in titlebar and messages
This commit is contained in:
@@ -514,6 +514,8 @@ _get_group(preference_t pref)
|
||||
case PREF_ROSTER_OFFLINE:
|
||||
case PREF_ROSTER_RESOURCE:
|
||||
case PREF_ROSTER_BY:
|
||||
case PREF_RESOURCE_TITLE:
|
||||
case PREF_RESOURCE_MESSAGE:
|
||||
return PREF_GROUP_UI;
|
||||
case PREF_STATES:
|
||||
case PREF_OUTTYPE:
|
||||
@@ -647,6 +649,10 @@ _get_key(preference_t pref)
|
||||
return "roster.resource";
|
||||
case PREF_ROSTER_BY:
|
||||
return "roster.by";
|
||||
case PREF_RESOURCE_TITLE:
|
||||
return "resource.title";
|
||||
case PREF_RESOURCE_MESSAGE:
|
||||
return "resource.message";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -95,7 +95,9 @@ typedef enum {
|
||||
PREF_LOG_SHARED,
|
||||
PREF_OTR_LOG,
|
||||
PREF_OTR_WARN,
|
||||
PREF_OTR_POLICY
|
||||
PREF_OTR_POLICY,
|
||||
PREF_RESOURCE_TITLE,
|
||||
PREF_RESOURCE_MESSAGE
|
||||
} preference_t;
|
||||
|
||||
typedef struct prof_alias_t {
|
||||
|
||||
Reference in New Issue
Block a user