[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-897-g9921c0e39

paul at claws-mail.org paul at claws-mail.org
Mon Dec 16 11:02:05 CET 2019


The branch, gtk3 has been updated
       via  9921c0e39ed4ccdbd6efe2a00d529d0f7eb9f603 (commit)
      from  d439c3be487558215765507b9babc42fd163bf50 (commit)

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


- Log -----------------------------------------------------------------
commit 9921c0e39ed4ccdbd6efe2a00d529d0f7eb9f603
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 989a486a5..1c782ca2e 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1730,11 +1730,12 @@ static void folderview_update_node(FolderView *folderview, GtkCMCTreeNode *node)
 		gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_new);
 	} else if (item->op_count > 0) {
 		}
-	} else if (use_color) {
+	} else if (use_color)
 		gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_new);
-	} else if (!gdk_rgba_equal(&item->prefs->color, &black)) {
+	else if (item->op_count > 0)
+		gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_op);
+	else if (!gdk_rgba_equal(&item->prefs->color, &black))
 		gtk_cmctree_node_set_foreground(ctree, node, &item->prefs->color);
-	}
 
 	gtk_cmctree_node_set_row_style(ctree, node, style);
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list