[gthumb/ext] use a comma as a keyword separator



commit ff453158b104d7d4698987c8c12dd33a1e524e28
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Sep 10 16:57:39 2009 +0200

    use a comma as a keyword separator

 extensions/exiv2/exiv2-utils.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/extensions/exiv2/exiv2-utils.cpp b/extensions/exiv2/exiv2-utils.cpp
index 051ceaf..656e559 100644
--- a/extensions/exiv2/exiv2-utils.cpp
+++ b/extensions/exiv2/exiv2-utils.cpp
@@ -262,7 +262,7 @@ set_string_list_attribute_from_tagset (GFileInfo  *info,
 		return;
 
 	g_object_get (metadata, "raw", &raw, NULL);
-	keywords = g_strsplit (raw, " ", -1);
+	keywords = g_strsplit (raw, ", ", -1);
 	string_list = gth_string_list_new_from_strv (keywords);
 	g_file_info_set_attribute_object (info, attribute, G_OBJECT (string_list));
 
@@ -270,6 +270,7 @@ set_string_list_attribute_from_tagset (GFileInfo  *info,
 	g_free (raw);
 }
 
+
 static void
 set_attributes_from_tagsets (GFileInfo *info)
 {



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