From 01360a73ae8a148ca19c75e3b11167965b887d8b Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 23 Nov 2018 20:11:32 +0100 Subject: FileProvider for aesgcm links Co-authored-by: Thibaut Girka --- main/src/ui/conversation_summary/content_item_widget_factory.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/src') diff --git a/main/src/ui/conversation_summary/content_item_widget_factory.vala b/main/src/ui/conversation_summary/content_item_widget_factory.vala index 26b66664..d8f65b3c 100644 --- a/main/src/ui/conversation_summary/content_item_widget_factory.vala +++ b/main/src/ui/conversation_summary/content_item_widget_factory.vala @@ -1,6 +1,7 @@ using Gee; using Gdk; using Gtk; +using Pango; using Xmpp; using Dino.Entities; @@ -191,7 +192,7 @@ public class FileItemWidgetGenerator : WidgetGenerator, Object { main_box.add(content_type_image); Box right_box = new Box(Orientation.VERTICAL, 0) { visible=true }; - Label name_label = new Label(file_transfer.file_name) { xalign=0, yalign=0, visible=true}; + Label name_label = new Label(file_transfer.file_name) { ellipsize=EllipsizeMode.END, xalign=0, yalign=0, visible=true}; right_box.add(name_label); Label mime_label = new Label("" + _("File") + ": " + file_transfer.mime_type + "") { use_markup=true, xalign=0, yalign=1, visible=true}; mime_label.get_style_context().add_class("dim-label"); -- cgit v1.2.3-70-g09d2