From 287f6f774034b23a169c8c84e46a82a750231ef0 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sat, 28 Sep 2013 07:19:59 +0200 Subject: [PATCH] mi-info: show tooltip for caps labels with full caps string --- mediainfo/src/mi-info.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mediainfo/src/mi-info.vala b/mediainfo/src/mi-info.vala index 16491d6827..8f6c82d76d 100644 --- a/mediainfo/src/mi-info.vala +++ b/mediainfo/src/mi-info.vala @@ -730,10 +730,12 @@ public class MediaInfo.Info : Box AttachOptions fill = AttachOptions.FILL; AttachOptions fill_exp = AttachOptions.EXPAND|AttachOptions.FILL; - Label label = new Label (caps.to_string ()); + string str = caps.to_string( ); + Label label = new Label (str); label.set_ellipsize (Pango.EllipsizeMode.END); label.set_alignment (0.0f, 0.5f); label.set_selectable (true); + label.set_tooltip_text (str); table.attach (label, 0, 2, row, row+1, fill_exp, 0, 0, 1); row++;