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:
parent
fcf4d14374
commit
c57d0b8c8e
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user