From c57d0b8c8efbf4ff87ca603b345018f16bdedd34 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 5 Jun 2019 11:01:08 +0200 Subject: Add omemo.char theme option Thanks to @kaffekanne for noticing this! --- src/config/theme.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/config/theme.c b/src/config/theme.c index a0ca8356..53f55401 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -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) && -- cgit 1.4.1-2-gfad0