diff options
author | fiaxh <git@lightrise.org> | 2018-11-23 20:11:32 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2018-11-27 03:41:31 +0100 |
commit | 01360a73ae8a148ca19c75e3b11167965b887d8b (patch) | |
tree | 5138e52bea6362d3e0b2324befdfe77674c2afe6 /main/src/ui/conversation_summary | |
parent | 2208ff9799b8b551b4da5227a32a09f9e00ffb6a (diff) | |
download | dino-01360a73ae8a148ca19c75e3b11167965b887d8b.tar.gz dino-01360a73ae8a148ca19c75e3b11167965b887d8b.zip |
FileProvider for aesgcm links
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'main/src/ui/conversation_summary')
-rw-r--r-- | main/src/ui/conversation_summary/content_item_widget_factory.vala | 3 |
1 files changed, 2 insertions, 1 deletions
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("<span size='small'>" + _("File") + ": " + file_transfer.mime_type + "</span>") { use_markup=true, xalign=0, yalign=1, visible=true}; mime_label.get_style_context().add_class("dim-label"); |