gnome-control-center r8578 - trunk/capplets/common



Author: jensg
Date: Tue Mar 11 19:00:37 2008
New Revision: 8578
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=8578&view=rev

Log:
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)


Modified:
   trunk/capplets/common/ChangeLog
   trunk/capplets/common/gnome-theme-apply.c

Modified: trunk/capplets/common/gnome-theme-apply.c
==============================================================================
--- trunk/capplets/common/gnome-theme-apply.c	(original)
+++ trunk/capplets/common/gnome-theme-apply.c	Tue Mar 11 19:00:37 2008
@@ -103,9 +103,9 @@
     }
 
   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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]