From d18c3a4bcdf171cdf55157b701dd0266975f32e0 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 15 Feb 2007 05:47:12 +0000 Subject: 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 --- src/folderview.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/folderview.c') 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 -- cgit v1.2.3