[tracker/tracker-needle-model] needle: Fix alignment of folders without known parent



commit b99669694f37f9690eb2f97983b765bc53e1aed1
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Mar 24 13:29:06 2011 +0100

    needle: Fix alignment of folders without known parent

 src/tracker-needle/tracker-needle.vala       |    2 +-
 src/tracker-needle/tracker-result-store.vala |    9 ---------
 2 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/src/tracker-needle/tracker-needle.vala b/src/tracker-needle/tracker-needle.vala
index f891981..07c09f6 100644
--- a/src/tracker-needle/tracker-needle.vala
+++ b/src/tracker-needle/tracker-needle.vala
@@ -108,7 +108,7 @@ public class Tracker.Needle {
 		                            "?urn",
 		                            "nie:url(?urn)",
 		                            "tracker:coalesce(nie:title(?urn), nfo:fileName(?urn))",
-		                            "tracker:coalesce(nie:url(?parent), \"\")",
+		                            "nie:url(?parent)",
 		                            "nfo:fileLastModified(?urn)",
 		                            "?tooltip");
 
diff --git a/src/tracker-needle/tracker-result-store.vala b/src/tracker-needle/tracker-result-store.vala
index 779cbe3..e92d729 100644
--- a/src/tracker-needle/tracker-result-store.vala
+++ b/src/tracker-needle/tracker-result-store.vala
@@ -804,15 +804,6 @@ public class Tracker.ResultStore : Gtk.TreeModel, GLib.Object {
 		query_data.args = args;
 
 		queries += query_data;
-
-		/*
-		iter = TreeIter ();
-		iter.stamp = this.timestamp;
-		iter.user_data = categories[categories.length - 1];
-		path = this.get_path (iter);
-
-		row_inserted (path, iter);
-		*/
 	}
 
 	public bool has_results () {



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