[tracker/tracker-0.10] tracker-needle: Improve the information shown about bookmarks
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-needle: Improve the information shown about bookmarks
- Date: Thu, 9 Jun 2011 16:59:55 +0000 (UTC)
commit 78e03ec0387409f8ff1b88af9bee117566d231e3
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 0029e61..bf04a08 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]