[tracker] Adapted the writeback module for XMP to add CountryName too
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Adapted the writeback module for XMP to add CountryName too
- Date: Thu, 24 Dec 2009 12:10:39 +0000 (UTC)
commit 13a2c02aad893723dd96889146b4d21c62907a9f
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Dec 24 13:09:12 2009 +0100
Adapted the writeback module for XMP to add CountryName too
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 50bdd12..a023503 100644
--- a/src/tracker-writeback/tracker-writeback-xmp.c
+++ b/src/tracker-writeback/tracker-writeback-xmp.c
@@ -426,6 +426,8 @@ writeback_xmp_update_file_metadata (TrackerWritebackFile *wbf,
xmp_set_property (xmp, NS_IPTC4XMP, "Country", qrow[3], 0);
xmp_delete_property (xmp, NS_IPTC4XMP, "PrimaryLocationName");
xmp_set_property (xmp, NS_IPTC4XMP, "PrimaryLocationName", qrow[3], 0);
+ xmp_delete_property (xmp, NS_IPTC4XMP, "CountryName");
+ xmp_set_property (xmp, NS_IPTC4XMP, "CountryName", qrow[3], 0);
}
g_free (qrow[3]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]