summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2003-02-03 21:13:14 +0000
committerKjartan Maraas <kmaraas@src.gnome.org>2003-02-03 21:13:14 +0000
commit6f99d98345af753e0e5b96699015f8b3142110f7 (patch)
tree3e67a447adfc8cf11081973cd914aea3ae4c1fd4
parentf5dec29812600db1f8c34f221dd3f4afd06f4fc1 (diff)
downloadgnome-control-center-6f99d98345af753e0e5b96699015f8b3142110f7.tar.gz
Fix a glaring bug that caused the theme descriptions etc not to be
2003-02-03 Kjartan Maraas <kmaraas@gnome.org> * gnome-theme-info.c (read_meta_theme): Fix a glaring bug that caused the theme descriptions etc not to be localised.
-rw-r--r--capplets/common/ChangeLog7
-rw-r--r--capplets/common/gnome-theme-info.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/capplets/common/ChangeLog b/capplets/common/ChangeLog
index b0dead8fb..734ae3cf1 100644
--- a/capplets/common/ChangeLog
+++ b/capplets/common/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-03 Kjartan Maraas <kmaraas@gnome.org>
+
+ * gnome-theme-info.c (read_meta_theme): Fix a glaring bug
+ that caused the theme descriptions etc not to be localised.
+ Fix from Dmitry G. Mastrukov <dmitry@taurussoft.org>. Fixes
+ #104296
+
2003-01-27 Bastien Nocera <hadess@hadess.net>
* gnome-theme-test.c: (main): C ninety what ?
diff --git a/capplets/common/gnome-theme-info.c b/capplets/common/gnome-theme-info.c
index 0c563ff34..5f649bb94 100644
--- a/capplets/common/gnome-theme-info.c
+++ b/capplets/common/gnome-theme-info.c
@@ -317,7 +317,7 @@ read_meta_theme (GnomeVFSURI *meta_theme_uri)
meta_theme_info->name = gnome_vfs_uri_extract_short_name (common_theme_dir_uri);
gnome_vfs_uri_unref (common_theme_dir_uri);
- str = gnome_desktop_item_get_string (meta_theme_ditem, GNOME_DESKTOP_ITEM_NAME);
+ str = gnome_desktop_item_get_localestring (meta_theme_ditem, GNOME_DESKTOP_ITEM_NAME);
if (str == NULL)
{
gnome_theme_meta_info_free (meta_theme_info);
@@ -325,7 +325,7 @@ read_meta_theme (GnomeVFSURI *meta_theme_uri)
}
meta_theme_info->readable_name = g_strdup (str);
- str = gnome_desktop_item_get_string (meta_theme_ditem, GNOME_DESKTOP_ITEM_COMMENT);
+ str = gnome_desktop_item_get_localestring (meta_theme_ditem, GNOME_DESKTOP_ITEM_COMMENT);
if (str != NULL)
meta_theme_info->comment = g_strdup (str);