Add max tab length to statusbar

This commit is contained in:
James Booth
2018-03-11 01:18:46 +00:00
parent 9f24f6083b
commit d6e7f389d1
9 changed files with 115 additions and 31 deletions

View File

@@ -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);