[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-903-gfca56dcf4

paul at claws-mail.org paul at claws-mail.org
Mon Jan 13 18:05:00 CET 2020


The branch, gtk3 has been updated
       via  fca56dcf49e07f41a83361cb3824c995f4c43203 (commit)
      from  a19a0c5bbf6be9308f3e15aac20b9eea28b4f700 (commit)

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


- Log -----------------------------------------------------------------
commit fca56dcf49e07f41a83361cb3824c995f4c43203
Author: paul <paul at claws-mail.org>
Date:   Mon Jan 13 17:04:53 2020 +0000

    fix use of folder pref color when bold

diff --git a/src/folderview.c b/src/folderview.c
index 1c782ca2e..a623ae548 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1724,12 +1724,12 @@ static void folderview_update_node(FolderView *folderview, GtkCMCTreeNode *node)
 
 	if (use_bold) {
 		style = bold_style;
-		if (item->op_count > 0) {
+		if (item->op_count > 0)
 			gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_op);
-	} else if (use_color) {
-		gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_new);
-	} else if (item->op_count > 0) {
-		}
+		else if (use_color)
+			gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_new);
+		else if (!gdk_rgba_equal(&item->prefs->color, &black))
+			gtk_cmctree_node_set_foreground(ctree, node, &item->prefs->color);
 	} else if (use_color)
 		gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_new);
 	else if (item->op_count > 0)

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list