1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Add omemo.char theme option

Thanks to @kaffekanne for noticing this!
This commit is contained in:
Michael Vetter 2019-06-05 11:01:08 +02:00
parent fcf4d14374
commit c57d0b8c8e

View File

@ -574,6 +574,14 @@ _load_preferences(void)
}
}
if (g_key_file_has_key(theme, "ui", "omemo.char", NULL)) {
gchar *ch = g_key_file_get_string(theme, "ui", "omemo.char", NULL);
if (ch && strlen(ch) > 0) {
prefs_set_omemo_char(ch[0]);
g_free(ch);
}
}
if (g_key_file_has_key(theme, "ui", "titlebar.position", NULL) &&
g_key_file_has_key(theme, "ui", "mainwin.position", NULL) &&
g_key_file_has_key(theme, "ui", "statusbar.position", NULL) &&