[murrine/border-shade] aligned + and - symbols (expander) to the grid
- From: Andrea Cimitan <acimitan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [murrine/border-shade] aligned + and - symbols (expander) to the grid
- Date: Tue, 15 Sep 2009 18:04:46 +0000 (UTC)
commit 65ed5b25e8ba40037927a6fae686aebda1ba8fc1
Author: Andrea Cimitan <andrea cimitan gmail com>
Date: Tue Sep 15 20:04:08 2009 +0200
aligned + and - symbols (expander) to the grid
src/murrine_style.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index 580a610..0065d43 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -1852,15 +1852,15 @@ murrine_style_draw_expander (GtkStyle *style,
{
case GTK_EXPANDER_SEMI_COLLAPSED:
case GTK_EXPANDER_COLLAPSED:
- cairo_move_to (cr, (double)expander_size/2-(double)expander_size/4+0.5, (double)expander_size/2);
- cairo_line_to (cr, (double)expander_size/2+(double)expander_size/4-0.5, (double)expander_size/2);
- cairo_move_to (cr, (double)expander_size/2, (double)expander_size/2-(double)expander_size/4+0.5);
- cairo_line_to (cr, (double)expander_size/2, (double)expander_size/2+(double)expander_size/4-0.5);
+ cairo_move_to (cr, (double)expander_size/2-expander_size/4-0.5, (double)expander_size/2);
+ cairo_line_to (cr, (double)expander_size/2+expander_size/4+0.5, (double)expander_size/2);
+ cairo_move_to (cr, (double)expander_size/2, (double)expander_size/2-expander_size/4-0.5);
+ cairo_line_to (cr, (double)expander_size/2, (double)expander_size/2+expander_size/4+0.5);
break;
case GTK_EXPANDER_SEMI_EXPANDED:
case GTK_EXPANDER_EXPANDED:
- cairo_move_to (cr, (double)expander_size/2-(double)expander_size/4+0.5, (double)expander_size/2);
- cairo_line_to (cr, (double)expander_size/2+(double)expander_size/4-0.5, (double)expander_size/2);
+ cairo_move_to (cr, (double)expander_size/2-expander_size/4-0.5, (double)expander_size/2);
+ cairo_line_to (cr, (double)expander_size/2+expander_size/4+0.5, (double)expander_size/2);
break;
default:
g_assert_not_reached ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]