[rygel] tracker: SearchContainer takes keywords
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] tracker: SearchContainer takes keywords
- Date: Sun, 20 Sep 2009 23:29:13 +0000 (UTC)
commit 94607c03efd7654117dc4bf77cb2cc730af0663f
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Sep 21 01:24:37 2009 +0300
tracker: SearchContainer takes keywords
SearchContainer allows users to limit the search by keywords.
.../tracker/rygel-tracker-search-container.vala | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-search-container.vala b/src/plugins/tracker/rygel-tracker-search-container.vala
index 77ab3e4..d0cf1fd 100644
--- a/src/plugins/tracker/rygel-tracker-search-container.vala
+++ b/src/plugins/tracker/rygel-tracker-search-container.vala
@@ -46,16 +46,20 @@ public class Rygel.TrackerSearchContainer : Rygel.MediaContainer {
public string query_condition;
+ public string[] keywords;
+
Gee.List<AsyncResult> results;
public TrackerSearchContainer (string id,
MediaContainer parent,
string title,
string service,
- string? query_condition) {
+ string? query_condition,
+ string[] keywords = new string[0]) {
base (id, parent, title, 0);
this.service = service;
+ this.keywords = keywords;
if (query_condition != null) {
this.query_condition = query_condition;
@@ -86,7 +90,7 @@ public class Rygel.TrackerSearchContainer : Rygel.MediaContainer {
this.service,
new string[0],
"",
- new string[0],
+ this.keywords,
this.query_condition,
false,
new string[0],
@@ -130,7 +134,7 @@ public class Rygel.TrackerSearchContainer : Rygel.MediaContainer {
this.service,
TrackerItem.get_metadata_keys (),
"",
- new string[0],
+ this.keywords,
this.query_condition,
false,
new string[0],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]