mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 09:26:21 +00:00
Add /occupants indent command
Roster has a `/roster contact indent` option. Now we have the same for occupants. So contacts in roster and in MUC can have configurable indentation. Regards https://github.com/boothj5/profanity/issues/690
This commit is contained in:
@@ -452,6 +452,11 @@ _load_preferences(void)
|
||||
prefs_set_occupants_size(occupants_size);
|
||||
}
|
||||
|
||||
if (g_key_file_has_key(theme, "ui", "occupants.indent", NULL)) {
|
||||
gint occupants_indent = g_key_file_get_integer(theme, "ui", "occupants.indent", NULL);
|
||||
prefs_set_occupants_indent(occupants_indent);
|
||||
}
|
||||
|
||||
if (g_key_file_has_key(theme, "ui", "roster.size", NULL)) {
|
||||
gint roster_size = g_key_file_get_integer(theme, "ui", "roster.size", NULL);
|
||||
prefs_set_roster_size(roster_size);
|
||||
|
||||
Reference in New Issue
Block a user