[rygel] tracker: Rename a constant



commit 024a5c9eac5c921071be979efe75509d2aea0a8a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Sep 20 22:50:55 2009 +0300

    tracker: Rename a constant
    
    Rename TrackerMetadataValues.CATEGORY to SERVICE.

 .../tracker/rygel-tracker-metadata-values.vala     |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-metadata-values.vala b/src/plugins/tracker/rygel-tracker-metadata-values.vala
index 8e8840a..4e4e261 100644
--- a/src/plugins/tracker/rygel-tracker-metadata-values.vala
+++ b/src/plugins/tracker/rygel-tracker-metadata-values.vala
@@ -34,7 +34,7 @@ public class Rygel.TrackerMetadataValues : Rygel.SimpleContainer {
     private const string METADATA_PATH = "/org/freedesktop/Tracker/Metadata";
     private const string METADATA_IFACE = "org.freedesktop.Tracker.Metadata";
 
-    private const string CATEGORY = "Files";
+    private const string SERVICE = "Files";
     private const string QUERY_CONDITION =
         "<rdfq:Condition>\n" +
                 "<rdfq:contains>\n" +
@@ -63,7 +63,7 @@ public class Rygel.TrackerMetadataValues : Rygel.SimpleContainer {
             /* FIXME: We need to hook to some tracker signals to keep
              *        this field up2date at all times
              */
-            this.metadata.GetUniqueValues (CATEGORY,
+            this.metadata.GetUniqueValues (SERVICE,
                                            keys,
                                            "",
                                            true,
@@ -96,7 +96,7 @@ public class Rygel.TrackerMetadataValues : Rygel.SimpleContainer {
             var container = new TrackerSearchContainer (value,
                                                         this,
                                                         value,
-                                                        CATEGORY,
+                                                        SERVICE,
                                                         query_condition);
 
             this.children.add (container);



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