[rygel] tracker: Rename TrackerKeywords to TrackerTags



commit 05115758b6b7c51a1604b5dd6fbd6ed5bb7c5a0c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Dec 2 01:49:45 2009 +0200

    tracker: Rename TrackerKeywords to TrackerTags

 src/plugins/tracker/Makefile.am                    |    2 +-
 .../tracker/rygel-tracker-item-factory.vala        |    2 +-
 .../tracker/rygel-tracker-root-container.vala      |    2 +-
 ...acker-keywords.vala => rygel-tracker-tags.vala} |    6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/tracker/Makefile.am b/src/plugins/tracker/Makefile.am
index 96a5f9c..085beba 100644
--- a/src/plugins/tracker/Makefile.am
+++ b/src/plugins/tracker/Makefile.am
@@ -13,7 +13,7 @@ librygel_media_tracker_la_SOURCES = \
 				    rygel-media-tracker.vala \
 				    rygel-tracker-root-container.vala \
 				    rygel-tracker-metadata-values.vala \
-				    rygel-tracker-keywords.vala \
+				    rygel-tracker-tags.vala \
 				    rygel-tracker-search-container.vala \
 				    rygel-tracker-query.vala \
 				    rygel-tracker-item-factory.vala \
diff --git a/src/plugins/tracker/rygel-tracker-item-factory.vala b/src/plugins/tracker/rygel-tracker-item-factory.vala
index 992893a..1cf822d 100644
--- a/src/plugins/tracker/rygel-tracker-item-factory.vala
+++ b/src/plugins/tracker/rygel-tracker-item-factory.vala
@@ -79,7 +79,7 @@ public abstract class Rygel.TrackerItemFactory {
         keys[Metadata.TITLE] = "nie:title";
         keys[Metadata.MIME] = "nie:mimeType";
         keys[Metadata.SIZE] = "nfo:fileSize";
-        keys[Metadata.DATE] = "dc:date";
+        keys[Metadata.DATE] = "nie:contentCreated";
 
         return keys;
     }
diff --git a/src/plugins/tracker/rygel-tracker-root-container.vala b/src/plugins/tracker/rygel-tracker-root-container.vala
index 5cef18c..3e0a9c6 100644
--- a/src/plugins/tracker/rygel-tracker-root-container.vala
+++ b/src/plugins/tracker/rygel-tracker-root-container.vala
@@ -67,7 +67,7 @@ public class Rygel.TrackerRootContainer : Rygel.SimpleContainer {
                                         new TrackerMusicItemFactory (),
                                         key_chain));
 
-        this.add_child (new TrackerKeywords ("19", this));
+        this.add_child (new TrackerTags ("19", this));
     }
 }
 
diff --git a/src/plugins/tracker/rygel-tracker-keywords.vala b/src/plugins/tracker/rygel-tracker-tags.vala
similarity index 88%
rename from src/plugins/tracker/rygel-tracker-keywords.vala
rename to src/plugins/tracker/rygel-tracker-tags.vala
index 48043a2..ba813a0 100644
--- a/src/plugins/tracker/rygel-tracker-keywords.vala
+++ b/src/plugins/tracker/rygel-tracker-tags.vala
@@ -28,13 +28,13 @@ using Gee;
 /**
  * Container listing all available photo tags in Tracker DB.
  */
-public class Rygel.TrackerKeywords : Rygel.TrackerMetadataValues {
+public class Rygel.TrackerTags : Rygel.TrackerMetadataValues {
     /* class-wide constants */
     private const string TITLE = "Tags";
     private const string[] KEY_CHAIN = { "nao:hasTag", "nao:prefLabel", null };
 
-    public TrackerKeywords (string         id,
-                            MediaContainer parent) {
+    public TrackerTags (string         id,
+                        MediaContainer parent) {
         base (id, parent, TITLE, new TrackerImageItemFactory (), KEY_CHAIN);
     }
 }



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