diff options
author | James Booth <boothj5@gmail.com> | 2018-03-11 01:18:46 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2018-03-11 01:18:46 +0000 |
commit | d6e7f389d1c1009b7c1fe9fb7f01697b610028ea (patch) | |
tree | 17810d447d34263bae5eb7fbd295e7f380c8bb6b /src/config/theme.c | |
parent | 9f24f6083be8516edc5704e572480a4000bf3a25 (diff) | |
download | profani-tty-d6e7f389d1c1009b7c1fe9fb7f01697b610028ea.tar.gz |
Add max tab length to statusbar
Diffstat (limited to 'src/config/theme.c')
-rw-r--r-- | src/config/theme.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index 24dbc9ae..769299d0 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -442,6 +442,11 @@ _load_preferences(void) prefs_set_statusbartabs(tabs_size); } + if (g_key_file_has_key(theme, "ui", "statusbar.tablen", NULL)) { + gint tab_len = g_key_file_get_integer(theme, "ui", "statusbar.tablen", NULL); + prefs_set_statusbartabs(tab_len); + } + if (g_key_file_has_key(theme, "ui", "occupants.size", NULL)) { gint occupants_size = g_key_file_get_integer(theme, "ui", "occupants.size", NULL); prefs_set_occupants_size(occupants_size); |