diff --git a/ChangeLog b/ChangeLog index 8fa17e80e2..4613f1642f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-03 Anders Carlsson + + * gtk/gtkstyle.c (gtk_default_draw_expander): Add + flipping support to the expanders. + Sat Feb 2 21:54:01 2002 Owen Taylor RC file lookup improvements (#68234, suggestions diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 8fa17e80e2..4613f1642f 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2002-02-03 Anders Carlsson + + * gtk/gtkstyle.c (gtk_default_draw_expander): Add + flipping support to the expanders. + Sat Feb 2 21:54:01 2002 Owen Taylor RC file lookup improvements (#68234, suggestions diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8fa17e80e2..4613f1642f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-02-03 Anders Carlsson + + * gtk/gtkstyle.c (gtk_default_draw_expander): Add + flipping support to the expanders. + Sat Feb 2 21:54:01 2002 Owen Taylor RC file lookup improvements (#68234, suggestions diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 8fa17e80e2..4613f1642f 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-02-03 Anders Carlsson + + * gtk/gtkstyle.c (gtk_default_draw_expander): Add + flipping support to the expanders. + Sat Feb 2 21:54:01 2002 Owen Taylor RC file lookup improvements (#68234, suggestions diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 8fa17e80e2..4613f1642f 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-02-03 Anders Carlsson + + * gtk/gtkstyle.c (gtk_default_draw_expander): Add + flipping support to the expanders. + Sat Feb 2 21:54:01 2002 Owen Taylor RC file lookup improvements (#68234, suggestions diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8fa17e80e2..4613f1642f 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-02-03 Anders Carlsson + + * gtk/gtkstyle.c (gtk_default_draw_expander): Add + flipping support to the expanders. + Sat Feb 2 21:54:01 2002 Owen Taylor RC file lookup improvements (#68234, suggestions diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8fa17e80e2..4613f1642f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-02-03 Anders Carlsson + + * gtk/gtkstyle.c (gtk_default_draw_expander): Add + flipping support to the expanders. + Sat Feb 2 21:54:01 2002 Owen Taylor RC file lookup improvements (#68234, suggestions diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index 9348365c9c..5fcd886626 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -4375,7 +4375,7 @@ gtk_default_draw_expander (GtkStyle *style, gint line_width; gdouble affine[6]; gint degrees = 0; - + gtk_widget_style_get (widget, "expander_size", &expander_size, NULL); @@ -4398,13 +4398,13 @@ gtk_default_draw_expander (GtkStyle *style, switch (expander_style) { case GTK_EXPANDER_COLLAPSED: - degrees = 0; + degrees = (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) ? 180 : 0; break; case GTK_EXPANDER_SEMI_COLLAPSED: - degrees = 30; + degrees = (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) ? 150 : 30; break; case GTK_EXPANDER_SEMI_EXPANDED: - degrees = 60; + degrees = (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) ? 120 : 60; break; case GTK_EXPANDER_EXPANDED: degrees = 90; @@ -4412,7 +4412,7 @@ gtk_default_draw_expander (GtkStyle *style, default: g_assert_not_reached (); } - + create_expander_affine (affine, degrees, expander_size, x, y); for (i = 0; i < 3; i++)