[tracker] tracker-writeback: Fixed nie:contentCreated writeback support
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-writeback: Fixed nie:contentCreated writeback support
- Date: Wed, 31 Mar 2010 14:05:57 +0000 (UTC)
commit 5fa58acfcb0dee83d2b53a0bf301529523763332
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Mar 31 16:05:05 2010 +0200
tracker-writeback: Fixed nie:contentCreated writeback support
src/tracker-writeback/tracker-writeback-xmp.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-xmp.c b/src/tracker-writeback/tracker-writeback-xmp.c
index 4cf4700..2d6236a 100644
--- a/src/tracker-writeback/tracker-writeback-xmp.c
+++ b/src/tracker-writeback/tracker-writeback-xmp.c
@@ -240,6 +240,8 @@ writeback_xmp_update_file_metadata (TrackerWritebackFile *wbf,
if (g_strcmp0 (row[2], TRACKER_NIE_PREFIX "contentCreated") == 0) {
xmp_delete_property (xmp, NS_EXIF, "Date");
xmp_set_property (xmp, NS_EXIF, "Date", row[3], 0);
+ xmp_delete_property (xmp, NS_DC, "date");
+ xmp_set_property (xmp, NS_DC, "date", row[3], 0);
}
if (g_strcmp0 (row[2], TRACKER_NFO_PREFIX "orientation") == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]