[tracker] Apparently is the field called CountryName in IPTC's namespace of XMP
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Apparently is the field called CountryName in IPTC's namespace of XMP
- Date: Thu, 24 Dec 2009 12:09:47 +0000 (UTC)
commit 38670ec84be3933390c2fb2a7487397943e2e545
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Dec 24 13:08:06 2009 +0100
Apparently is the field called CountryName in IPTC's namespace of XMP
src/tracker-extract/tracker-xmp.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-xmp.c b/src/tracker-extract/tracker-xmp.c
index 140b2e3..e124760 100644
--- a/src/tracker-extract/tracker-xmp.c
+++ b/src/tracker-extract/tracker-xmp.c
@@ -400,6 +400,9 @@ tracker_xmp_iter_simple (const gchar *uri,
if (!data->Country && g_ascii_strcasecmp (name, "Country") == 0) {
data->Country = g_strdup (value);
} else
+ if (!data->Country && g_ascii_strcasecmp (name, "CountryName") == 0) {
+ data->Country = g_strdup (value);
+ } else
if (!data->Country && g_ascii_strcasecmp (name, "PrimaryLocationName") == 0) {
data->Country = g_strdup (value);
} else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]