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

@ -75,12 +75,10 @@ typedef struct _GnomeThemeCursorInfo GnomeThemeCursorInfo;
struct _GnomeThemeCursorInfo {
gchar *path;
gchar *name;
gchar *readable_name;
gint priority;
GArray *sizes;
GdkPixbuf *thumbnail;
#ifndef HAVE_XCURSOR
gchar *label;
#endif
};
typedef struct _GnomeThemeMetaInfo GnomeThemeMetaInfo;