[nautilus] nautilus-list-view: Avoid unreadable names



commit 17061d58d126077a26dd44595c321ee134f5747c
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]