1
0
Fork 0

xep-0308: make correction.char themeable

This commit is contained in:
Michael Vetter 2020-02-10 14:58:22 +01:00
parent dd8086772d
commit 3c1db1cd32
3 changed files with 10 additions and 0 deletions

View File

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

View File

@ -149,3 +149,4 @@ console.muc=
console.chat=
console.private=
inputwin.position=
correction.char=

View File

@ -152,4 +152,5 @@ statusbar.tabs=10
statusbar.tablen=7
statusbar.show.name=true
statusbar.show.number=true
correction.char=+