make color scheme comparisons work much more reliably

2007-07-26  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (update_color_buttons_from_string),
	(update_color_buttons_from_settings):
	* appearance-themes.c: (theme_is_equal):
	* theme-util.c: (theme_parse_color_scheme),
	(theme_color_scheme_equal):
	* theme-util.h: make color scheme comparisons work much more reliably

svn path=/trunk/; revision=7893
This commit is contained in:
Jens Granseuer 2007-07-26 18:21:05 +00:00 committed by Jens Granseuer
parent 0b3d3935dd
commit e91260a58b
5 changed files with 85 additions and 46 deletions

View file

@ -46,3 +46,5 @@ typedef enum {
gboolean theme_delete (const gchar *name, ThemeType type);
gboolean theme_model_iter_last (GtkTreeModel *model, GtkTreeIter *iter);
gboolean theme_find_in_model (GtkTreeModel *model, const gchar *name, GtkTreeIter *iter);
gboolean theme_parse_color_scheme (const gchar *scheme, GdkColor *colors);
gboolean theme_color_scheme_equal (const gchar *s1, const gchar *s2);