mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge pull request #1111 from profanity-im/feature/theme-omemo-char
Add omemo.char to themes
This commit is contained in:
commit
c03f936390
@ -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) &&
|
||||
|
@ -140,6 +140,7 @@ occupants.header.char=
|
||||
wins.autotidy=
|
||||
otr.char=
|
||||
pgp.char=
|
||||
omemo.char=
|
||||
console.muc=
|
||||
console.chat=
|
||||
console.private=
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user