[gnome-photos] local-item: Restrict the width of local source locations
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] local-item: Restrict the width of local source locations
- Date: Tue, 9 Aug 2016 16:43:44 +0000 (UTC)
commit 54000caeb8c521c9d7395ad131ec23f2b43a736c
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]