[gnome-photos/wip/rishi/revert-to-original: 3/6] local-item: Restrict the width of local source locations



commit bb4ed8688b4e4d230ca22e61c65473833bfa0feb
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Aug 9 10:15:30 2016 +0200

    local-item: Restrict the width of local source locations

 src/photos-local-item.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-local-item.c b/src/photos-local-item.c
index 7dffb80..5cba1da 100644
--- a/src/photos-local-item.c
+++ b/src/photos-local-item.c
@@ -160,6 +160,7 @@ photos_local_item_get_source_widget (PhotosBaseItem *item)
 
       label = gtk_bin_get_child (GTK_BIN (source_widget));
       gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
+      gtk_label_set_max_width_chars (GTK_LABEL (label), 40);
 
       g_object_unref (source_link);
       g_object_unref (file);


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