Use readable name rather than file name in themes list

2007-05-04  Thomas Wood  <thos@gnome.org>

	* appearance-themes.c: (themes_init): Use readable name rather than file name
	in themes list

svn path=/trunk/; revision=7548
This commit is contained in:
Thomas Wood 2007-05-04 17:07:05 +00:00 committed by Thomas Wood
parent ad3bc15a9a
commit af3c712e63
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-05-04 Thomas Wood <thos@gnome.org>
* appearance-themes.c: (themes_init): Use readable name rather than file name
in themes list
2007-05-03 Denis Washington <denisw@svn.gnome.org>
* appearance-desktop.c: (wp_tree_delete_event): Fixed a leak.

View file

@ -67,7 +67,7 @@ themes_init (AppearanceData *data)
gnome_theme_info_register_theme_change ((GFunc)theme_changed_func, data);
for (l = theme_list; l; l = g_list_next (l))
{
gchar *name = ((GnomeThemeMetaInfo *)l->data)->name;
gchar *name = ((GnomeThemeMetaInfo *)l->data)->readable_name;
if (name)
{
GdkPixbuf *pixbuf = generate_theme_thumbnail (l->data, TRUE);