about summary refs log tree commit diff stats
path: root/src/config/theme.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-04-23 16:54:40 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-04-24 09:49:14 +0200
commit125ca2f0d2e0513ed8b47ba05a193fccbcb9d79d (patch)
tree9215cf43b982348bbca4582ec1e49c67afa96ddd /src/config/theme.c
parent637dfca6ddb38874e0472ffa53acd2cc73e3e608 (diff)
downloadprofani-tty-125ca2f0d2e0513ed8b47ba05a193fccbcb9d79d.tar.gz
Add occupants wrap option
Wrapping for the occupants panel like already exists for the roster
panel. See `/occupants wrap on`.

Regards https://github.com/boothj5/profanity/issues/690
Diffstat (limited to 'src/config/theme.c')
-rw-r--r--src/config/theme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c
index f92ab241..ddb4252f 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -388,6 +388,7 @@ _load_preferences(void)
     _set_boolean_preference("resource.message", PREF_RESOURCE_MESSAGE);
     _set_boolean_preference("occupants", PREF_OCCUPANTS);
     _set_boolean_preference("occupants.jid", PREF_OCCUPANTS_JID);
+    _set_boolean_preference("occupants.wrap", PREF_OCCUPANTS_WRAP);
     _set_boolean_preference("roster", PREF_ROSTER);
     _set_boolean_preference("roster.offline", PREF_ROSTER_OFFLINE);
     _set_boolean_preference("roster.resource", PREF_ROSTER_RESOURCE);