diff --git a/ChangeLog b/ChangeLog index dce4441260..7c6d070813 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-11-08 Matthias Clasen + * gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL + submenu indicators. + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL optionmenus by flipping the indicator_spacing. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index dce4441260..7c6d070813 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2002-11-08 Matthias Clasen + * gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL + submenu indicators. + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL optionmenus by flipping the indicator_spacing. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index dce4441260..7c6d070813 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,5 +1,8 @@ 2002-11-08 Matthias Clasen + * gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL + submenu indicators. + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL optionmenus by flipping the indicator_spacing. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index dce4441260..7c6d070813 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,8 @@ 2002-11-08 Matthias Clasen + * gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL + submenu indicators. + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL optionmenus by flipping the indicator_spacing. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index dce4441260..7c6d070813 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,8 @@ 2002-11-08 Matthias Clasen + * gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL + submenu indicators. + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL optionmenus by flipping the indicator_spacing. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index dce4441260..7c6d070813 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2002-11-08 Matthias Clasen + * gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL + submenu indicators. + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL optionmenus by flipping the indicator_spacing. diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index cb3c1020e1..60a20ca27d 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -3002,8 +3002,9 @@ gtk_default_draw_arrow (GtkStyle *style, original_x = x; calculate_arrow_geometry (arrow_type, &x, &y, &width, &height); - - if (detail && strcmp (detail, "menuitem") == 0) + + if (detail && strcmp (detail, "menuitem") == 0 + && gtk_widget_get_direction (widget) == GTK_TEXT_DIR_LTR) x = original_x + original_width - width; if (state == GTK_STATE_INSENSITIVE)