diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-01-29 12:33:55 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-01-29 12:33:55 +0100 |
commit | cd80b6cbf23bdf792dbbf6bedcba0bff2889a193 (patch) | |
tree | a35ac5f63ae340d16d0a31efdc0a584bded1e3de /src/ui | |
parent | 5c41c5b380b8dddf68aa45e2e7265c60c52f36dc (diff) | |
download | profani-tty-cd80b6cbf23bdf792dbbf6bedcba0bff2889a193.tar.gz |
Change theme handling
So far when loading a theme it also overwrote the preferences the user set. Lengthy discussion can be found at https://github.com/profanity-im/profanity/issues/1077 Now we use `/theme load themename` to load the [colours] part of a themem only. `/theme full-load themename` will load the complete theme including preferences set in there. Regards https://github.com/profanity-im/profanity/issues/1077
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 545c508f..813fc9ad 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -364,7 +364,7 @@ void ui_handle_login_account_success(ProfAccount *account, gboolean secured) { if (account->theme) { - if (theme_load(account->theme)) { + if (theme_load(account->theme, false)) { ui_load_colours(); if (prefs_get_boolean(PREF_ROSTER)) { ui_show_roster(); |