Read a cursor theme's name from it's index.theme file if it has one.

2007-07-28  Denis Washington  <denisw@svn.gnome.org>

	* common/gnome-theme-info.h:
	* common/gnome-theme-info.c: (look_in_cursor_theme),
	(gnome_theme_cursor_info_free):
	Read a cursor theme's name from it's index.theme file if it has one.

	* appearance/appearance-style.c: (prepare_list):
	Show readable_name in cursor theme list instead of name.

svn path=/trunk/; revision=7914
This commit is contained in:
Denis Washington 2007-07-28 13:53:15 +00:00 committed by Denis Washington
parent b608a53acb
commit 2834baf127
5 changed files with 38 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2007-07-28 Denis Washington <denisw@svn.gnome.org>
* appearance-style.c: (prepare_list):
Show readable_name in cursor theme list instead of name.
2007-07-28 Thomas Wood <thos@gnome.org>
* wp-cellrenderer.c: (cell_renderer_wallpaper_render): Don't draw the

View file

@ -774,9 +774,7 @@ prepare_list (AppearanceData *data, GtkWidget *list, ThemeType type, GCallback c
label = ((GnomeThemeIconInfo *) l->data)->readable_name;
} else if (type == THEME_TYPE_CURSOR) {
name = ((GnomeThemeCursorInfo *) l->data)->name;
#ifndef HAVE_XCURSOR
label = ((GnomeThemeCursorInfo *) l->data)->label;
#endif
label = ((GnomeThemeCursorInfo *) l->data)->readable_name;
}
if (!name)