diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-06-05 11:01:08 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-06-05 11:01:08 +0200 |
commit | c57d0b8c8efbf4ff87ca603b345018f16bdedd34 (patch) | |
tree | 592a0c773836535700fe4d4cefcf7942fba3a154 | |
parent | fcf4d143742ea1bf42babef32b11e9bbb2e863a0 (diff) | |
download | profani-tty-c57d0b8c8efbf4ff87ca603b345018f16bdedd34.tar.gz |
Add omemo.char theme option
Thanks to @kaffekanne for noticing this!
-rw-r--r-- | src/config/theme.c | 8 |
1 files changed, 8 insertions, 0 deletions
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) && |