[nautilus] icon-item-ui: Use middle ellipsization
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] icon-item-ui: Use middle ellipsization
- Date: Fri, 10 Mar 2017 16:12:10 +0000 (UTC)
commit 06e393e8f6bf49062b06cb53fc4bebc0191ebe38
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Mar 10 17:09:50 2017 +0100
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.
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 46ccba3..d808428 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]