diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-04-08 18:50:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-08 18:50:50 +0200 |
commit | ac581c29bfa7c31fbfb6fe8019d257d3883b33bb (patch) | |
tree | 9a46dd0cb40bef1a4f993941d058bc580bc1741b /src/config | |
parent | 5f078f95f2b0d77f1f94fbe69aaa0b6ae605b398 (diff) | |
parent | 0cf79848e90289eba34af5b89aafdc9fc8930383 (diff) | |
download | profani-tty-ac581c29bfa7c31fbfb6fe8019d257d3883b33bb.tar.gz |
Merge pull request #1813 from profanity-im/tabmode-irssi
add `/statusbar tabmode actlist`
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 5 | ||||
-rw-r--r-- | src/config/preferences.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index f15952cd..2d975e39 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -1813,6 +1813,7 @@ _get_group(preference_t pref) case PREF_STATUSBAR_SELF: case PREF_STATUSBAR_CHAT: case PREF_STATUSBAR_ROOM: + case PREF_STATUSBAR_TABMODE: case PREF_TITLEBAR_MUC_TITLE_JID: case PREF_TITLEBAR_MUC_TITLE_NAME: case PREF_SLASH_GUARD: @@ -2136,6 +2137,8 @@ _get_key(preference_t pref) return "statusbar.chat"; case PREF_STATUSBAR_ROOM: return "statusbar.room"; + case PREF_STATUSBAR_TABMODE: + return "statusbar.tabmode"; case PREF_OMEMO_LOG: return "log"; case PREF_OMEMO_POLICY: @@ -2300,6 +2303,8 @@ _get_default_string(preference_t pref) return "user"; case PREF_STATUSBAR_ROOM: return "room"; + case PREF_STATUSBAR_TABMODE: + return "default"; case PREF_OMEMO_LOG: return "on"; case PREF_OMEMO_POLICY: diff --git a/src/config/preferences.h b/src/config/preferences.h index ca8acea4..ecb28485 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -186,6 +186,7 @@ typedef enum { PREF_STROPHE_SM_ENABLED, PREF_STROPHE_SM_RESEND, PREF_VCARD_PHOTO_CMD, + PREF_STATUSBAR_TABMODE, } preference_t; typedef struct prof_alias_t |