1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00
profanity/src
Michael Vetter 92c8366880 Dont kill *.char preferences if theme doesnt contain it
So far `/occupants char *`, `/roster contact char *`, `/roster room char #`,
`/roster header char -`, `/occupants header char -` was saved and
loaded from the preferences.

But was overwritten when the theme was loaded. If the theme didn't set
these values the value was just cleared. Despite that it might have been
set in the users preferences.

Funny enough the themes don't operate generally like this.
For example `otr.char` is not cleared.

This is again due to our borked theme/prefs concept
(https://github.com/profanity-im/profanity/issues/1077).

For now let's just use the one set from the preferences if it's set. The
theme will however overwrite it if it is set there.

Fix https://github.com/profanity-im/profanity/issues/1244
2019-12-20 10:45:25 +01:00
..
command Make /roster color configurable when offline 2019-12-20 10:07:44 +01:00
config Dont kill *.char preferences if theme doesnt contain it 2019-12-20 10:45:25 +01:00
event Start implementing XEP-0084 2019-12-18 10:17:10 +01:00
omemo Add vim modeline 2019-11-13 12:11:05 +01:00
otr Add vim modeline 2019-11-13 12:11:05 +01:00
pgp Add vim modeline 2019-11-13 12:11:05 +01:00
plugins Add vim modeline 2019-11-13 12:11:05 +01:00
tools Add vim modeline 2019-11-13 12:11:05 +01:00
ui Adjust /color configuration output 2019-12-20 10:05:58 +01:00
xmpp Add string.h to avatars.c 2019-12-19 20:04:19 +01:00
common.c Add vim modeline 2019-11-13 12:11:05 +01:00
common.h Add vim modeline 2019-11-13 12:11:05 +01:00
log.c Add vim modeline 2019-11-13 12:11:05 +01:00
log.h Add vim modeline 2019-11-13 12:11:05 +01:00
main.c Add vim modeline 2019-11-13 12:11:05 +01:00
profanity.c Add vim modeline 2019-11-13 12:11:05 +01:00
profanity.h Add vim modeline 2019-11-13 12:11:05 +01:00