Added roster.rooms.private.char setting

This commit is contained in:
James Booth
2016-01-31 20:17:20 +00:00
parent dd250c6799
commit a00095c8a9
10 changed files with 119 additions and 42 deletions

View File

@@ -470,6 +470,16 @@ _load_preferences(void)
prefs_clear_roster_room_char();
}
if (g_key_file_has_key(theme, "ui", "roster.rooms.private.char", NULL)) {
gchar *ch = g_key_file_get_string(theme, "ui", "roster.rooms.private.char", NULL);
if (ch && strlen(ch) > 0) {
prefs_set_roster_room_private_char(ch[0]);
g_free(ch);
}
} else {
prefs_clear_roster_room_private_char();
}
if (g_key_file_has_key(theme, "ui", "roster.private.char", NULL)) {
gchar *ch = g_key_file_get_string(theme, "ui", "roster.private.char", NULL);
if (ch && strlen(ch) > 0) {