[rygel] tracker: Use 'equals' as op in RDF query



commit fa9dee36f5b0069ece731dbeffbb620446d04932
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Sep 20 23:08:04 2009 +0300

    tracker: Use 'equals' as op in RDF query
    
    Use 'equals' as the operator in the RDF query instead of 'contains'.

 .../tracker/rygel-tracker-metadata-values.vala     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-metadata-values.vala b/src/plugins/tracker/rygel-tracker-metadata-values.vala
index 4e4e261..3661a89 100644
--- a/src/plugins/tracker/rygel-tracker-metadata-values.vala
+++ b/src/plugins/tracker/rygel-tracker-metadata-values.vala
@@ -37,10 +37,10 @@ public class Rygel.TrackerMetadataValues : Rygel.SimpleContainer {
     private const string SERVICE = "Files";
     private const string QUERY_CONDITION =
         "<rdfq:Condition>\n" +
-                "<rdfq:contains>\n" +
+                "<rdfq:equals>\n" +
                     "<rdfq:Property name=\"%s\" />\n" +
                     "<rdf:String>%s</rdf:String>\n" +
-                "</rdfq:contains>\n" +
+                "</rdfq:equals>\n" +
         "</rdfq:Condition>";
 
     public dynamic DBus.Object metadata;



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