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



commit c8fa9e37a69a2898fd5cb5b2f53ab77ae88ee262
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]