[Commits] [SCM] claws branch, master, updated. 3.17.4-80-g1ad801634

paul at claws-mail.org paul at claws-mail.org
Mon Dec 16 10:45:55 CET 2019


The branch, master has been updated
       via  1ad80163438addbbfa51bdc95fd2bd28be31d835 (commit)
      from  a4cdc370019ac16b5aa6b7696c3884146d8183de (commit)

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


- Log -----------------------------------------------------------------
commit 1ad80163438addbbfa51bdc95fd2bd28be31d835
Author: Paul <paul at claws-mail.org>
Date:   Mon Dec 16 09:45:50 2019 +0000

    fix bolding of target folder where target is trash

diff --git a/src/folderview.c b/src/folderview.c
index 35f72da87..263d3d8d7 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1735,9 +1735,11 @@ static void folderview_update_node(FolderView *folderview, GtkCMCTreeNode *node)
 			gtkut_convert_int_to_gdk_color(item->prefs->color, &gdk_color);
 			gtk_cmctree_node_set_foreground(ctree, node, &gdk_color);
 		}
-	} else if (use_color) {
+	} else if (use_color)
 		gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_new);
-	} else if (item->prefs->color != 0) {
+	else if (item->op_count > 0)
+		gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_op);
+	else if (item->prefs->color != 0) {
 		gtkut_convert_int_to_gdk_color(item->prefs->color, &gdk_color);
 		gtk_cmctree_node_set_foreground(ctree, node, &gdk_color);
 	}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list