murrine r52 - in trunk: . src



Author: acimitan
Date: Mon Sep  1 01:26:15 2008
New Revision: 52
URL: http://svn.gnome.org/viewvc/murrine?rev=52&view=rev

Log:
2008-09-01  Andrea Cimitan  <andrea cimitan gmail com>

	* src/murrine_draw.c (murrine_draw_button):
	* src/murrine_draw_rgba.c (murrine_rgba_draw_button):
	Removed useless shadow on default button. Is it better?


Modified:
   trunk/ChangeLog
   trunk/src/murrine_draw.c
   trunk/src/murrine_draw_rgba.c

Modified: trunk/src/murrine_draw.c
==============================================================================
--- trunk/src/murrine_draw.c	(original)
+++ trunk/src/murrine_draw.c	Mon Sep  1 01:26:15 2008
@@ -200,11 +200,7 @@
 
 	/* Default button */
 	if (widget->is_default)
-	{
-		murrine_rounded_rectangle (cr, xoffset, yoffset, width-(xoffset*2), height-(yoffset*2), widget->roundness, widget->corners);
-		cairo_stroke (cr);
 		murrine_shade (&border_normal, 0.8, &border_normal);
-	}
 
 	/* Draw the bg */
 	if (widget->roundness < 2)

Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c	(original)
+++ trunk/src/murrine_draw_rgba.c	Mon Sep  1 01:26:15 2008
@@ -200,11 +200,7 @@
 
 	/* Default button */
 	if (widget->is_default)
-	{
-		murrine_rounded_rectangle (cr, xoffset, yoffset, width-(xoffset*2), height-(yoffset*2), widget->roundness, widget->corners);
-		cairo_stroke (cr);
 		murrine_shade (&border_normal, 0.8, &border_normal);
-	}
 
 	/* Draw the bg */
 	if (widget->roundness < 2)



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