[Commits] [SCM] claws branch, master, updated. 3.13.2-183-g28fe219

ticho at claws-mail.org ticho at claws-mail.org
Tue Jul 19 11:11:15 CEST 2016


The branch, master has been updated
       via  28fe219b168b81bf1421003aed1268f05ea34d1d (commit)
      from  6bc99f87aec6d0e527abb6f8ae2eabe5178ab83c (commit)

Summary of changes:
 src/folderview.c |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)


- Log -----------------------------------------------------------------
commit 28fe219b168b81bf1421003aed1268f05ea34d1d
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Tue Jul 19 11:09:22 2016 +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.

diff --git a/src/folderview.c b/src/folderview.c
index af71005..8f66b16 100644
--- 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();

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list