[murrine] Fixed the background below the spinbuttons



commit 3ea65df9cfbb6159cb57c04b298c0d95162acaeb
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Wed Sep 16 03:54:00 2009 +0200

    Fixed the background below the spinbuttons

 src/murrine_style.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index 9a76024..974e310 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -815,7 +815,6 @@ murrine_style_draw_box (DRAW_ARGS)
 				}
 			}
 
-
 			if (params.xthickness > 1)
 			{
 				if (params.ltr)
@@ -906,6 +905,13 @@ murrine_style_draw_box (DRAW_ARGS)
 		if (murrine_style->reliefstyle > 1)
 			params.reliefstyle = 1;
 
+		if (!params.mrn_gradient.use_rgba)
+		{
+			cairo_rectangle (cr, x, y, width, height);
+			murrine_set_color_rgb (cr, &params.parentbg);
+			cairo_fill (cr);
+		}
+
 		/* draw_spinbutton (cr, &murrine_style->colors, &params, x, y, width, height); */
 		STYLE_FUNCTION(draw_button) (cr, &murrine_style->colors, &params, x, y, width, height, horizontal);
 	}



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