[tracker] tracker-needle: Improve the information shown about bookmarks



commit 19f0ca8ce61982c3829ab91e98fbe78e9092a063
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Jun 8 14:35:02 2011 +0100

    tracker-needle: Improve the information shown about bookmarks
    
    The link was broken and so was the tooltip.

 src/tracker-needle/tracker-needle.vala |    8 ++++----
 src/tracker-needle/tracker-query.vala  |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/tracker-needle/tracker-needle.vala b/src/tracker-needle/tracker-needle.vala
index a78b62a..1eeb88e 100644
--- a/src/tracker-needle/tracker-needle.vala
+++ b/src/tracker-needle/tracker-needle.vala
@@ -125,11 +125,11 @@ public class Tracker.Needle {
 		categories_model.add_query (Tracker.Query.Type.BOOKMARKS,
 		                            Tracker.Query.Match.FTS,
 		                            "?urn",
-		                            "nie:url(?urn)",
-		                            "tracker:coalesce(nie:title(?urn), nie:url(?urn))",
-		                            "nie:url(?urn)",
+		                            "nie:url(?bookmark)",
+		                            "nie:title(?urn)",
+		                            "nie:url(?bookmark)",
 		                            "nie:contentLastModified(?urn)",
-		                            "?tooltip");
+		                            "nie:url(?bookmark)");
 
 		// Files model
 		files_model = new ResultStore (7);
diff --git a/src/tracker-needle/tracker-query.vala b/src/tracker-needle/tracker-query.vala
index fd7ccfc..892303d 100644
--- a/src/tracker-needle/tracker-query.vala
+++ b/src/tracker-needle/tracker-query.vala
@@ -152,7 +152,7 @@ public class Tracker.Query {
 		// BOOKMARKS
 		"WHERE {
 		  ?urn a nfo:Bookmark ;
-		       nie:url ?tooltip .
+               nfo:bookmarks ?bookmark .
 		  %s
 		}"
 	};



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