[gtk-engines/clearlooks-expanders] modified: engines/clearlooks/src/clearlooks_style.c
- From: Andrea Cimitan <acimitan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-engines/clearlooks-expanders] modified: engines/clearlooks/src/clearlooks_style.c
- Date: Mon, 14 Sep 2009 16:52:32 +0000 (UTC)
commit 71439983747a5deff0ac4f1af279039dc430c904
Author: Andrea Cimitan <andrea cimitan gmail com>
Date: Mon Sep 14 18:52:08 2009 +0200
modified: engines/clearlooks/src/clearlooks_style.c
draw in the correct position
engines/clearlooks/src/clearlooks_style.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/engines/clearlooks/src/clearlooks_style.c b/engines/clearlooks/src/clearlooks_style.c
index a42f001..4a8a861 100644
--- a/engines/clearlooks/src/clearlooks_style.c
+++ b/engines/clearlooks/src/clearlooks_style.c
@@ -1493,6 +1493,8 @@ clearlooks_style_draw_expander (GtkStyle *style,
else
expander_size = 12;
+ cairo_translate (cr, x-expander_size/2, y-expander_size/2);
+
ge_cairo_rounded_rectangle (cr, 0.5, 0.5, expander_size-1, expander_size-1, params.radius, params.corners);
cairo_set_source_rgb (cr, colors->shade[1].r, colors->shade[1].g, colors->shade[1].b);
cairo_fill_preserve (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]