[tracker/functions] Adapted the writeback module for XMP to add CountryName too
- From: Mikael Ottela <mottela src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/functions] Adapted the writeback module for XMP to add CountryName too
- Date: Thu, 14 Jan 2010 09:07:56 +0000 (UTC)
commit 5911853c5544661372ffe46d56200381ad892131
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]