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



commit 6e66b6a961173b1f4cc1f60d5f78297111f17d86
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]