[tracker/tracker-needle-model: 21/25] needle: Don't align all text cells to have 2 lines high



commit e289ea237ed1c176288616171cd88218fbbd81f9
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Mar 24 10:32:11 2011 +0100

    needle: Don't align all text cells to have 2 lines high

 src/tracker-needle/tracker-view.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-needle/tracker-view.vala b/src/tracker-needle/tracker-view.vala
index 8d18c42..720542f 100644
--- a/src/tracker-needle/tracker-view.vala
+++ b/src/tracker-needle/tracker-view.vala
@@ -302,11 +302,11 @@ public class Tracker.View : ScrolledWindow {
 		tree_model.get (iter, 2, out text, 3, out subtext, -1);
 
 		if (text != null) {
-			markup = Markup.escape_text (text) + "\n";
+			markup = Markup.escape_text (text);
 		}
 
 		if (subtext != null) {
-			markup += "<small><span color='grey'>%s</span></small>".printf (Markup.escape_text (subtext));
+			markup += "\n<small><span color='grey'>%s</span></small>".printf (Markup.escape_text (subtext));
 		}
 
 		if (markup == null) {
@@ -327,7 +327,7 @@ public class Tracker.View : ScrolledWindow {
 		tree_model.get (iter, 4, out detail, -1);
 
 		if (detail != null) {
-			markup = "\n<span color='grey'><small>%s</small></span>".printf (Markup.escape_text (detail));
+			markup = "<span color='grey'><small>%s</small></span>".printf (Markup.escape_text (detail));
 		}
 
 		cell.set ("markup", markup);



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