diff --git a/src/config/theme.c b/src/config/theme.c index f081bd21..f7842bab 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -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) && diff --git a/theme_template b/theme_template index 55de8521..3a512936 100644 --- a/theme_template +++ b/theme_template @@ -149,3 +149,4 @@ console.muc= console.chat= console.private= inputwin.position= +correction.char= diff --git a/themes/boothj5 b/themes/boothj5 index fee2a7d7..3955da6a 100644 --- a/themes/boothj5 +++ b/themes/boothj5 @@ -152,4 +152,5 @@ statusbar.tabs=10 statusbar.tablen=7 statusbar.show.name=true statusbar.show.number=true +correction.char=+