1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Merge pull request #1111 from profanity-im/feature/theme-omemo-char

Add omemo.char to themes
This commit is contained in:
Michael Vetter 2019-06-05 12:34:48 +02:00 committed by GitHub
commit c03f936390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 0 deletions

View File

@ -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) &&

View File

@ -140,6 +140,7 @@ occupants.header.char=
wins.autotidy=
otr.char=
pgp.char=
omemo.char=
console.muc=
console.chat=
console.private=

View File

@ -130,6 +130,7 @@ occupants.jid=false
wins.autotidy=true
otr.char=@
pgp.char=%
omemo.char=*
tls.show=true
console.muc=first
titlebar.position=1

View File

@ -135,6 +135,7 @@ occupants.jid=false
wins.autotidy=true
otr.char=@
pgp.char=%
omemo.char=*
tls.show=true
console.muc=first
console.chat=all

View File

@ -135,6 +135,7 @@ occupants.jid=false
wins.autotidy=true
otr.char=@
pgp.char=%
omemo.char=*
tls.show=true
console.muc=first
console.chat=all

View File

@ -131,6 +131,7 @@ occupants.jid=false
wins.autotidy=true
otr.char=@
pgp.char=%
omemo.char=*
tls.show=true
console.muc=first
console.chat=all