mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 01:06:20 +00:00
Added roster.rooms.private.char setting
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user