talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 28fe219b168b81bf1421003aed1268f05ea34d1d
parent 6bc99f87aec6d0e527abb6f8ae2eabe5178ab83c
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Tue, 19 Jul 2016 11:09:22 +0200

Do not repopulate folderview after account prefs save.

The only reason to repopulate is if user's chosen fonts
change, and that cannot happen in account prefs.

Diffstat:
Msrc/folderview.c | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/folderview.c b/src/folderview.c @@ -2692,12 +2692,13 @@ void folderview_reflect_prefs(void) last_boldfont = g_strdup(BOLD_FONT); last_derive = prefs_common.derive_from_normal_font; - if (update_font) { - normal_style = normal_color_style = bold_style = - bold_color_style = bold_tgtfold_style = NULL; + if (!update_font) + return; - folderview_init(folderview); - } + normal_style = normal_color_style = bold_style = + bold_color_style = bold_tgtfold_style = NULL; + + folderview_init(folderview); gtk_cmclist_freeze(GTK_CMCLIST(folderview->ctree)); folderview_column_set_titles(folderview); folderview_set_all();