[nautilus] Use monospace font for permissions
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Use monospace font for permissions
- Date: Mon, 22 Dec 2014 08:32:10 +0000 (UTC)
commit 10791afe7848d3fa3a2a66958a779e905294c4b8
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 7 21:26:02 2014 -0400
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
src/nautilus-list-view.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index b361734..d1abe48 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]