[murrine] More fixes to RGBA mode (and fixes webkit, while the previous commit doesn't)
- From: Andrea Cimitan <acimitan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [murrine] More fixes to RGBA mode (and fixes webkit, while the previous commit doesn't)
- Date: Mon, 11 Jan 2010 22:27:48 +0000 (UTC)
commit 06d6c08309b9ff7a69b310abbbccd72047aec0d7
Author: Andrea Cimitan <andrea cimitan gmail com>
Date: Mon Jan 11 23:26:49 2010 +0100
More fixes to RGBA mode (and fixes webkit, while the previous commit doesn't)
src/murrine_style.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index ac57588..47b9796 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -308,14 +308,14 @@ murrine_style_draw_flat_box (DRAW_ARGS)
{
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
murrine_set_color_rgba (cr, &colors->base[state_type], ENTRY_OPACITY);
- cairo_rectangle (cr, 0, 0, width, height);
+ cairo_rectangle (cr, x, y, width, height);
cairo_fill (cr);
}
else if (DETAIL ("eventbox") || DETAIL ("trough"))
{
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
murrine_set_color_rgba (cr, &colors->bg[0], WINDOW_OPACITY);
- cairo_rectangle (cr, 0, 0, width, height);
+ cairo_rectangle (cr, x, y, width, height);
cairo_fill (cr);
}
else
@@ -327,7 +327,7 @@ murrine_style_draw_flat_box (DRAW_ARGS)
murrine_pattern_add_color_stop_rgba (pat, 0.5, &colors->bg[0], (WINDOW_OPACITY-0.04));
murrine_pattern_add_color_stop_rgba (pat, 1.0, &colors->bg[0], WINDOW_OPACITY);
cairo_set_source (cr, pat);
- cairo_rectangle (cr, 0, 0, width, height);
+ cairo_rectangle (cr, x, y, width, height);
cairo_fill (cr);
cairo_pattern_destroy (pat);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]