[tracker/needle: 32/53] tracker-needle: Make result list text ellipsized to allow collapsing



commit fc986254b7734052fb6dfe47b78f8719b395e50a
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Aug 16 22:25:45 2010 +0100

    tracker-needle: Make result list text ellipsized to allow collapsing

 src/tracker-needle/tracker-needle.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-needle/tracker-needle.vala b/src/tracker-needle/tracker-needle.vala
index fc6c915..b5479cb 100644
--- a/src/tracker-needle/tracker-needle.vala
+++ b/src/tracker-needle/tracker-needle.vala
@@ -184,6 +184,7 @@ public class TrackerNeedle {
 		col.pack_start (renderer2, true);
 		col.add_attribute (renderer2, "text", 4);
 		col.add_attribute (renderer2, "subtext", 5);
+		renderer2.ellipsize = Pango.EllipsizeMode.MIDDLE;
 
 		col.set_title (_("File"));
 		col.set_resizable (true);



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