[nautilus/wip/csoriano/improve_list_view: 6/7] nautilus-list-view: dim label of columns that are not the name



commit ae30753a128f8108451e3fd1aba721418a50c4a0
Author: Carlos Soriano <csoriano gnome org>
Date:   Thu Feb 12 15:05:00 2015 +0100

    nautilus-list-view: dim label of columns that are not the name
    
    Design request

 src/nautilus-list-view.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index abc9345..5c2b908 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -2093,9 +2093,13 @@ create_and_set_up_tree_view (NautilusListView *view)
                                                                 view, NULL);
                } else {
                        cell = gtk_cell_renderer_text_new ();
+                       /* Match Adwaita dim-label style */
+                       GdkRGBA dim_text = {.0, .0, .0, 0.55};
+
                        g_object_set (cell,
                                      "xalign", xalign,
                                      "xpad", 5,
+                                     "foreground-rgba", &dim_text,
                                      NULL);
                        if (!strcmp (name, "permissions")) {
                                g_object_set (cell,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]