[rygel] tracker: Set 'nie:contentCreated' on created items



commit 586db0498cf57bf9d0f2f79871fc45f1c1279d29
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Apr 12 18:38:55 2011 +0300

    tracker: Set 'nie:contentCreated' on created items

 .../tracker/rygel-tracker-insertion-query.vala     |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-insertion-query.vala b/src/plugins/tracker/rygel-tracker-insertion-query.vala
index 91101a0..e5fa36c 100644
--- a/src/plugins/tracker/rygel-tracker-insertion-query.vala
+++ b/src/plugins/tracker/rygel-tracker-insertion-query.vala
@@ -60,9 +60,13 @@ public class Rygel.Tracker.InsertionQuery : Query {
         }
 
         var now = TimeVal ();
+        var date = now.to_iso8601 ();
         triplets.add (new QueryTriplet (QUERY_ID,
                                         "nfo:fileLastModified",
-                                        "\"" + now.to_iso8601 () + "\""));
+                                        "\"" + date + "\""));
+        triplets.add (new QueryTriplet (QUERY_ID,
+                                        "nie:contentCreated",
+                                        "\"" + date + "\""));
 
         base (triplets);
     }



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