summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-10-07 21:26:02 -0400
committerCosimo Cecchi <cosimo@endlesm.com>2014-12-22 16:31:11 +0800
commit10791afe7848d3fa3a2a66958a779e905294c4b8 (patch)
tree49b149dcad94ad69436d965d060dc98718b2df0c
parent72482c8987bbd50c87f1fd104121cdf05af7c0b1 (diff)
downloadnautilus-10791afe7848d3fa3a2a66958a779e905294c4b8.tar.gz
Use monospace font for permissions
This makes the permission strings line up nicely. With other fonts, the wide w really throws off the alignment. https://bugzilla.gnome.org/show_bug.cgi?id=737904
-rw-r--r--src/nautilus-list-view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index b361734f4..d1abe4873 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -2084,6 +2084,11 @@ create_and_set_up_tree_view (NautilusListView *view)
"xalign", xalign,
"xpad", 5,
NULL);
+ if (!strcmp (name, "permissions")) {
+ g_object_set (cell,
+ "family", "Monospace",
+ NULL);
+ }
view->details->cells = g_list_append (view->details->cells,
cell);
column = gtk_tree_view_column_new_with_attributes (label,