[nautilus] view-icon-item-ui: Allow maximum of 3 lines for file name



commit 9488453667424d69b94cbd2e00af36bac1e93523
Author: Carlos Soriano <csoriano gnome org>
Date:   Fri Mar 10 17:10:26 2017 +0100

    view-icon-item-ui: Allow maximum of 3 lines for file name
    
    If not the vertical requirement per item is too big.

 src/nautilus-view-icon-item-ui.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-view-icon-item-ui.c b/src/nautilus-view-icon-item-ui.c
index d808428..2eacf46 100644
--- a/src/nautilus-view-icon-item-ui.c
+++ b/src/nautilus-view-icon-item-ui.c
@@ -146,7 +146,7 @@ constructed (GObject *object)
     gtk_label_set_ellipsize (label, PANGO_ELLIPSIZE_MIDDLE);
     gtk_label_set_line_wrap (label, TRUE);
     gtk_label_set_line_wrap_mode (label, PANGO_WRAP_WORD_CHAR);
-    gtk_label_set_lines (label, 4);
+    gtk_label_set_lines (label, 3);
     gtk_label_set_justify (label, GTK_JUSTIFY_CENTER);
     gtk_widget_set_valign (GTK_WIDGET (label), GTK_ALIGN_START);
     gtk_box_pack_end (container, GTK_WIDGET (label), TRUE, TRUE, 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]