[tracker/tracker-needle-model: 12/25] needle: Ensure text in categories view is always 2 lines high
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-needle-model: 12/25] needle: Ensure text in categories view is always 2 lines high
- Date: Thu, 24 Mar 2011 11:25:03 +0000 (UTC)
commit 325f66bc4f98dcd0464a6fd0ee47cae51774d12f
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Mar 22 13:20:41 2011 +0100
needle: Ensure text in categories view is always 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 832b1e0..72956a6 100644
--- a/src/tracker-needle/tracker-view.vala
+++ b/src/tracker-needle/tracker-view.vala
@@ -343,15 +343,15 @@ public class Tracker.View : ScrolledWindow {
tree_model.get (iter, 2, out text, 3, out subtext, -1);
if (text != null) {
- markup = Markup.escape_text (text);
+ markup = Markup.escape_text (text) + "\n";
}
if (subtext != null) {
- markup += "\n<small><span color='grey'>%s</span></small>".printf (Markup.escape_text (subtext));
+ markup += "<small><span color='grey'>%s</span></small>".printf (Markup.escape_text (subtext));
}
if (markup == null) {
- markup = "<span color='grey'>%s</span>".printf (_("Loading..."));
+ markup = "<span color='grey'>%s</span>\n".printf (_("Loading..."));
}
cell.set ("markup", markup);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]