[murrine/border-shade-and-expander] Fixed the background below the spinbuttons
- From: Andrea Cimitan <acimitan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [murrine/border-shade-and-expander] Fixed the background below the spinbuttons
- Date: Wed, 16 Sep 2009 01:54:31 +0000 (UTC)
commit 401ef97b98d5a8a81e88c1b9dd0425c985b808fe
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, ¶ms.parentbg);
+ cairo_fill (cr);
+ }
+
/* draw_spinbutton (cr, &murrine_style->colors, ¶ms, x, y, width, height); */
STYLE_FUNCTION(draw_button) (cr, &murrine_style->colors, ¶ms, x, y, width, height, horizontal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]