aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2003-12-06 06:48:03 +0800
committerRodney Dawes <dobey@src.gnome.org>2003-12-06 06:48:03 +0800
commita3a13cabde5949348f1cdc02f645909540070500 (patch)
tree9dc22c2ac2ccc2508e4c8f57cc4f427e6a459da8 /mail/em-folder-tree.c
parentbe6ff1542b8c3e074293f7b214985343efd233b3 (diff)
downloadgsoc2013-evolution-a3a13cabde5949348f1cdc02f645909540070500.tar.gz
gsoc2013-evolution-a3a13cabde5949348f1cdc02f645909540070500.tar.zst
gsoc2013-evolution-a3a13cabde5949348f1cdc02f645909540070500.zip
Fixes bug #51482
2003-12-05 Rodney Dawes <dobey@ximian.com> Fixes bug #51482 * em-folder-tree.c (render_display_name): Don't hardcode colors for the folder tree, instead use bold for unread, as in 1.4 svn path=/trunk/; revision=23656
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 409fc5881d..df93d40a06 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -277,9 +277,8 @@ render_display_name (GtkTreeViewColumn *column, GtkCellRenderer *renderer,
display = g_strdup (name);
g_object_set (renderer, "text", display,
- "weight", bold ? PANGO_WEIGHT_BOLD : PANGO_WEIGHT_NORMAL,
- "foreground_set", unread ? TRUE : FALSE,
- "foreground", unread ? "#0000ff" : "#000000", NULL);
+ "weight", bold || unread ? PANGO_WEIGHT_BOLD : PANGO_WEIGHT_NORMAL,
+ NULL);
g_free (display);
}