[gthumb] load the locale strings from the extension ini files
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb] load the locale strings from the extension ini files
- Date: Mon, 18 Jan 2010 20:23:44 +0000 (UTC)
commit 2e3a3e797d06979c887679f7064abd233f2aa02a
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Jan 17 23:38:41 2010 +0100
load the locale strings from the extension ini files
gthumb/gth-extensions.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gthumb/gth-extensions.c b/gthumb/gth-extensions.c
index 1ab7cb9..39d122f 100644
--- a/gthumb/gth-extensions.c
+++ b/gthumb/gth-extensions.c
@@ -527,11 +527,11 @@ gth_extension_description_load_from_file (GthExtensionDescription *desc,
basename = g_file_get_basename (file);
desc->id = _g_uri_remove_extension (basename);
- desc->name = g_key_file_get_string (key_file, "Extension", "Name", NULL);
- desc->description = g_key_file_get_string (key_file, "Extension", "Description", NULL);
- desc->version = g_key_file_get_string (key_file, "Extension", "Version", NULL);
- desc->authors = g_key_file_get_string_list (key_file, "Extension", "Authors", NULL, NULL);
- desc->copyright = g_key_file_get_string (key_file, "Extension", "Copyright", NULL);
+ desc->name = g_key_file_get_locale_string (key_file, "Extension", "Name", NULL, NULL);
+ desc->description = g_key_file_get_locale_string (key_file, "Extension", "Description", NULL, NULL);
+ desc->version = g_key_file_get_locale_string (key_file, "Extension", "Version", NULL, NULL);
+ desc->authors = g_key_file_get_locale_string_list (key_file, "Extension", "Authors", NULL, NULL, NULL);
+ desc->copyright = g_key_file_get_locale_string (key_file, "Extension", "Copyright", NULL, NULL);
desc->icon_name = g_key_file_get_string (key_file, "Extension", "Icon", NULL);
desc->url = g_key_file_get_string (key_file, "Extension", "URL", NULL);
desc->mandatory = g_key_file_get_boolean (key_file, "Extension", "Mandatory", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]