[nautilus/gnome-3-14] nautilus-list-view: Avoid unreadable names
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-14] nautilus-list-view: Avoid unreadable names
- Date: Sun, 18 Jan 2015 20:34:48 +0000 (UTC)
commit 29ed1dee800341e8fcde739d0561ecc9d14e7f10
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Fri Aug 22 19:18:30 2014 +0200
nautilus-list-view: Avoid unreadable names
Currently if the view is resized, the column name is resized as well
given that use ellipsization allowing the column to become unreadable.
To avoid that, use width-chars property to set a desired width, but at
the same time allowing the user to resize without limits the name column
if desired.
https://bugzilla.gnome.org/show_bug.cgi?id=732004
src/nautilus-list-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index 8711af6..b361734 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -2066,6 +2066,7 @@ create_and_set_up_tree_view (NautilusListView *view)
g_object_set (cell,
"ellipsize", PANGO_ELLIPSIZE_END,
"single-paragraph-mode", TRUE,
+ "width-chars", 30,
"xpad", 5,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]