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.
This commit is contained in:
parent
f5dec29812
commit
6f99d98345
2 changed files with 9 additions and 2 deletions
|
@ -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>
|
2003-01-27 Bastien Nocera <hadess@hadess.net>
|
||||||
|
|
||||||
* gnome-theme-test.c: (main): C ninety what ?
|
* gnome-theme-test.c: (main): C ninety what ?
|
||||||
|
|
|
@ -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);
|
meta_theme_info->name = gnome_vfs_uri_extract_short_name (common_theme_dir_uri);
|
||||||
gnome_vfs_uri_unref (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)
|
if (str == NULL)
|
||||||
{
|
{
|
||||||
gnome_theme_meta_info_free (meta_theme_info);
|
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);
|
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)
|
if (str != NULL)
|
||||||
meta_theme_info->comment = g_strdup (str);
|
meta_theme_info->comment = g_strdup (str);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue