[nautilus/wip/csoriano/improve_list_view: 8/10] nautilus-list-view: dim label of columns that are not the name
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/csoriano/improve_list_view: 8/10] nautilus-list-view: dim label of columns that are not the name
- Date: Sun, 15 Feb 2015 20:41:10 +0000 (UTC)
commit df534ba726b4fde6aac14f3018461525a261f2e6
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 3ea5123..a09f2f9 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]