summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2017-03-10 17:09:50 +0100
committerCarlos Soriano <csoriano@gnome.org>2017-03-10 17:09:50 +0100
commit06e393e8f6bf49062b06cb53fc4bebc0191ebe38 (patch)
treed4b369db27167d5ed90be8abc5e0fa9bf665391b
parent3e303131022915e8df22b2edb590ee2515393cbd (diff)
downloadnautilus-06e393e8f6bf49062b06cb53fc4bebc0191ebe38.tar.gz
icon-item-ui: Use middle ellipsization
Let's try with middle ellipsization, since it provides context on both the start and the end of the name.
-rw-r--r--src/nautilus-view-icon-item-ui.c2
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 46ccba3ec..d80842890 100644
--- a/src/nautilus-view-icon-item-ui.c
+++ b/src/nautilus-view-icon-item-ui.c
@@ -143,7 +143,7 @@ constructed (GObject *object)
label = GTK_LABEL (gtk_label_new (nautilus_file_get_display_name (file)));
gtk_widget_show (GTK_WIDGET (label));
- gtk_label_set_ellipsize (label, PANGO_ELLIPSIZE_END);
+ 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);