actually check the cursor size before changing it in GConf, not the theme

2008-03-11  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): actually check the
	cursor size before changing it in GConf, not the theme name
	(thanks to Kjartan Maraas)

svn path=/trunk/; revision=8578
This commit is contained in:
Jens Granseuer 2008-03-11 19:00:37 +00:00 committed by Jens Granseuer
parent 70c6a9a66a
commit 6d3edb2018
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-03-11 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-apply.c: (gnome_meta_theme_set): actually check the
cursor size before changing it in GConf, not the theme name
(thanks to Kjartan Maraas)
2008-03-11 Jens Granseuer <jensgr@gmx.net>
Encountering a theme that could not be thumbnailed (e.g. because the

View file

@ -103,9 +103,9 @@ gnome_meta_theme_set (GnomeThemeMetaInfo *meta_theme_info)
}
old_key_int = gconf_client_get_int (client, CURSOR_SIZE_KEY, NULL);
if (old_key_int != meta_theme_info->cursor_theme_name)
if (old_key_int != meta_theme_info->cursor_size)
{
gconf_client_set_int (client, CURSOR_SIZE_KEY, meta_theme_info->cursor_size, NULL);
gconf_client_set_int (client, CURSOR_SIZE_KEY, meta_theme_info->cursor_size, NULL);
}
#else
old_key = gconf_client_get_string (client, CURSOR_FONT_KEY, NULL);