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



Author: bberg
Date: Mon Nov  3 20:50:56 2008
New Revision: 1274
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1274&view=rev

Log:
2008-11-03  Benjamin Berg  <benjamin sipsolutions net>

	* engines/clearlooks/src/clearlooks_draw_gummy.c:
	(clearlooks_gummy_draw_button):
	Do not draw default indicator, if the button is disabled.


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

Modified: trunk/engines/clearlooks/src/clearlooks_draw_gummy.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_draw_gummy.c	(original)
+++ trunk/engines/clearlooks/src/clearlooks_draw_gummy.c	Mon Nov  3 20:50:56 2008
@@ -181,7 +181,7 @@
 			cairo_stroke (cr);
 		}
 
-		if (params->is_default)
+		if (params->is_default && !params->disabled)
 		{
 			CairoColor shadow = colors->spot[1];
 



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