1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

add exit title preference

This commit is contained in:
Will Song 2015-01-08 10:02:30 -06:00
parent 30610f7c48
commit f1641f3cf7
No known key found for this signature in database
GPG Key ID: AF0CA153EA5D9C7C
2 changed files with 5 additions and 1 deletions

View File

@ -647,6 +647,8 @@ _get_key(preference_t pref)
return "roster.resource"; return "roster.resource";
case PREF_ROSTER_BY: case PREF_ROSTER_BY:
return "roster.by"; return "roster.by";
case PREF_EXIT_TITLE:
return "exit.title";
default: default:
return NULL; return NULL;
} }
@ -669,6 +671,7 @@ _get_default_boolean(preference_t pref)
case PREF_MUC_PRIVILEGES: case PREF_MUC_PRIVILEGES:
case PREF_PRESENCE: case PREF_PRESENCE:
case PREF_WRAP: case PREF_WRAP:
case PREF_EXIT_TITLE:
return TRUE; return TRUE;
default: default:
return FALSE; return FALSE;

View File

@ -95,7 +95,8 @@ typedef enum {
PREF_LOG_SHARED, PREF_LOG_SHARED,
PREF_OTR_LOG, PREF_OTR_LOG,
PREF_OTR_WARN, PREF_OTR_WARN,
PREF_OTR_POLICY PREF_OTR_POLICY,
PREF_EXIT_TITLE,
} preference_t; } preference_t;
typedef struct prof_alias_t { typedef struct prof_alias_t {