mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
xep-0308: make correction.char themeable
This commit is contained in:
parent
dd8086772d
commit
3c1db1cd32
@ -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
|
// load window positions
|
||||||
if (g_key_file_has_key(theme, "ui", "titlebar.position", NULL) &&
|
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", "mainwin.position", NULL) &&
|
||||||
|
@ -149,3 +149,4 @@ console.muc=
|
|||||||
console.chat=
|
console.chat=
|
||||||
console.private=
|
console.private=
|
||||||
inputwin.position=
|
inputwin.position=
|
||||||
|
correction.char=
|
||||||
|
@ -152,4 +152,5 @@ statusbar.tabs=10
|
|||||||
statusbar.tablen=7
|
statusbar.tablen=7
|
||||||
statusbar.show.name=true
|
statusbar.show.name=true
|
||||||
statusbar.show.number=true
|
statusbar.show.number=true
|
||||||
|
correction.char=+
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user