gtk-engines r1148 - in trunk: . engines/clearlooks/src



Author: bberg
Date: Mon Apr  7 20:17:11 2008
New Revision: 1148
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1148&view=rev

Log:
2008-04-07  Benjamin Berg  <benjamin sipsolutions net>

	* engines/clearlooks/src/clearlooks_style.c:
	(clearlooks_set_widget_parameters):
	Undo Andrea's change from 2008-03-19. The check was moved to fix
	the spinbutton arrow sensitivity. (See bug #475629.)


Modified:
   trunk/ChangeLog
   trunk/engines/clearlooks/src/clearlooks_style.c

Modified: trunk/engines/clearlooks/src/clearlooks_style.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_style.c	(original)
+++ trunk/engines/clearlooks/src/clearlooks_style.c	Mon Apr  7 20:17:11 2008
@@ -65,10 +65,6 @@
 {
 	params->style_functions = &(clearlooks_style_class->style_functions[CLEARLOOKS_STYLE (style)->style]);
 
-	/* Taken from Murrine, seems to fix insensitive spinbuttons */
-	if (widget && GE_IS_ENTRY (widget))
-		state_type = GTK_WIDGET_STATE (widget);
-
 	params->active        = (state_type == GTK_STATE_ACTIVE);
 	params->prelight      = (state_type == GTK_STATE_PRELIGHT);
 	params->disabled      = (state_type == GTK_STATE_INSENSITIVE);



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