aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-02-15 05:47:12 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-02-15 05:47:12 +0000
commitd18c3a4bcdf171cdf55157b701dd0266975f32e0 (patch)
treeb9844f1b247bafda3c10173a1378b8ef596de1bf /src
parent681a307dc29f8cb9f8ca1dc0d4ea6557ea04f9bb (diff)
enabled coloring of new/unread/total columns in folder view.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1544 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/folderview.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/folderview.c b/src/folderview.c
index 2e8ad723..d4793e76 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -405,7 +405,9 @@ FolderView *folderview_create(void)
renderer = gtk_cell_renderer_text_new();
g_object_set(renderer, "xalign", 1.0, "ypad", 0, NULL);
column = gtk_tree_view_column_new_with_attributes
- (_("New"), renderer, "text", COL_NEW, NULL);
+ (_("New"), renderer, "text", COL_NEW,
+ "foreground-gdk", COL_FOREGROUND,
+ "weight", COL_BOLD, NULL);
gtk_tree_view_column_set_alignment(column, 1.0);
gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED);
gtk_tree_view_column_set_fixed_width
@@ -419,7 +421,9 @@ FolderView *folderview_create(void)
renderer = gtk_cell_renderer_text_new();
g_object_set(renderer, "xalign", 1.0, "ypad", 0, NULL);
column = gtk_tree_view_column_new_with_attributes
- (_("Unread"), renderer, "text", COL_UNREAD, NULL);
+ (_("Unread"), renderer, "text", COL_UNREAD,
+ "foreground-gdk", COL_FOREGROUND,
+ "weight", COL_BOLD, NULL);
gtk_tree_view_column_set_alignment(column, 1.0);
gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED);
gtk_tree_view_column_set_fixed_width
@@ -433,7 +437,9 @@ FolderView *folderview_create(void)
renderer = gtk_cell_renderer_text_new();
g_object_set(renderer, "xalign", 1.0, "ypad", 0, NULL);
column = gtk_tree_view_column_new_with_attributes
- (_("#"), renderer, "text", COL_TOTAL, NULL);
+ (_("Total"), renderer, "text", COL_TOTAL,
+ "foreground-gdk", COL_FOREGROUND,
+ "weight", COL_BOLD, NULL);
gtk_tree_view_column_set_alignment(column, 1.0);
gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED);
gtk_tree_view_column_set_fixed_width