[nautilus/wip/csoriano/improve_list_view: 6/8] 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: 6/8] nautilus-list-view: dim label of columns that are not the name
- Date: Mon, 16 Feb 2015 18:59:32 +0000 (UTC)
commit 50c8970d23a8eb16c0c1b31f726b63facff4e188
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]