[nautilus] nautilus-list-view: dim label of columns that are not the name



commit 416a813a62d161665288fa9cd26eb52987a7b5d7
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
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744237

 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 69a0363..0f2a7ad 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]