[tracker/needle: 55/56] tracker-needle: Show filename not parent dir for tooltips in category view
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/needle: 55/56] tracker-needle: Show filename not parent dir for tooltips in category view
- Date: Tue, 14 Dec 2010 11:37:12 +0000 (UTC)
commit 8c22a1be273ed5bc1033b80c5b3219cdbc66c1cd
Author: Martyn Russell <martyn lanedo com>
Date: Fri Nov 19 14:24:49 2010 +0000
tracker-needle: Show filename not parent dir for tooltips in category view
src/tracker-needle/tracker-query.vala | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/tracker-needle/tracker-query.vala b/src/tracker-needle/tracker-query.vala
index f4a748a..1bf8d6d 100644
--- a/src/tracker-needle/tracker-query.vala
+++ b/src/tracker-needle/tracker-query.vala
@@ -113,7 +113,7 @@ public class Tracker.Query {
}
?song nmm:performer [ nmm:artistName ?performer ] ;
nmm:musicAlbum [ nie:title ?album ] ;
- nfo:belongsToContainer [ nie:url ?tooltip ]
+ nie:url ?tooltip
}
ORDER BY DESC(fts:rank(?song)) DESC(nie:title(?song))
OFFSET $offset LIMIT $limit
@@ -131,8 +131,8 @@ public class Tracker.Query {
?tooltip
WHERE {
?urn a nfo:Image ;
- nfo:belongsToContainer [ nie:url ?tooltip ] .
- ?urn fts:match \"$criteria_escaped\"
+ nie:url ?tooltip ;
+ fts:match \"$criteria_escaped\"
}
ORDER BY DESC(fts:rank(?urn)) DESC(nie:title(?urn))
OFFSET $offset LIMIT $limit
@@ -150,8 +150,8 @@ public class Tracker.Query {
?tooltip
WHERE {
?urn a nfo:Video ;
- nfo:belongsToContainer [ nie:url ?tooltip ] .
- ?urn fts:match \"$criteria_escaped\" .
+ nie:url ?tooltip ;
+ fts:match \"$criteria_escaped\" .
}
ORDER BY DESC(fts:rank(?urn)) DESC(nie:title(?urn))
OFFSET $offset LIMIT $limit
@@ -173,8 +173,8 @@ public class Tracker.Query {
WHERE {
?urn a nfo:Document ;
nco:creator [ nco:fullname ?creator ] ;
- nfo:belongsToContainer [ nie:url ?tooltip ] .
- ?urn fts:match \"$criteria_escaped\" .
+ nie:url ?tooltip ;
+ fts:match \"$criteria_escaped\" .
}
ORDER BY DESC(fts:rank(?urn)) DESC(nie:title(?urn))
OFFSET $offset LIMIT $limit
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]