aboutsummaryrefslogtreecommitdiffstats
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
parentbe6ff1542b8c3e074293f7b214985343efd233b3 (diff)
downloadgsoc2013-evolution-a3a13cabde5949348f1cdc02f645909540070500.tar
gsoc2013-evolution-a3a13cabde5949348f1cdc02f645909540070500.tar.gz
gsoc2013-evolution-a3a13cabde5949348f1cdc02f645909540070500.tar.bz2
gsoc2013-evolution-a3a13cabde5949348f1cdc02f645909540070500.tar.lz
gsoc2013-evolution-a3a13cabde5949348f1cdc02f645909540070500.tar.xz
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
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-tree.c5
2 files changed, 9 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 521efd7bae..b591f1aeef 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+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
+
2003-12-05 Radek Doulik <rodo@ximian.com>
* em-html-stream.c (emhs_sync_flush): use new gtk_html_flush
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);
}