diff --git a/ChangeLog b/ChangeLog index efa337da0a..dce4441260 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-08 Matthias Clasen + + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL + optionmenus by flipping the indicator_spacing. + Fri Nov 8 21:15:25 2002 Soeren Sandmann * tests/Makefile.am: add testmenus.c, a program to test menus when diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index efa337da0a..dce4441260 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-11-08 Matthias Clasen + + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL + optionmenus by flipping the indicator_spacing. + Fri Nov 8 21:15:25 2002 Soeren Sandmann * tests/Makefile.am: add testmenus.c, a program to test menus when diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index efa337da0a..dce4441260 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-11-08 Matthias Clasen + + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL + optionmenus by flipping the indicator_spacing. + Fri Nov 8 21:15:25 2002 Soeren Sandmann * tests/Makefile.am: add testmenus.c, a program to test menus when diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index efa337da0a..dce4441260 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-11-08 Matthias Clasen + + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL + optionmenus by flipping the indicator_spacing. + Fri Nov 8 21:15:25 2002 Soeren Sandmann * tests/Makefile.am: add testmenus.c, a program to test menus when diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index efa337da0a..dce4441260 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-11-08 Matthias Clasen + + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL + optionmenus by flipping the indicator_spacing. + Fri Nov 8 21:15:25 2002 Soeren Sandmann * tests/Makefile.am: add testmenus.c, a program to test menus when diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index efa337da0a..dce4441260 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-11-08 Matthias Clasen + + * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL + optionmenus by flipping the indicator_spacing. + Fri Nov 8 21:15:25 2002 Soeren Sandmann * tests/Makefile.am: add testmenus.c, a program to test menus when diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c index ba4fa7fff4..257b16f4df 100644 --- a/gtk/gtkoptionmenu.c +++ b/gtk/gtkoptionmenu.c @@ -554,7 +554,7 @@ gtk_option_menu_paint (GtkWidget *widget, button_area.width, button_area.height); if (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL) - tab_x = button_area.x + props.indicator_spacing.left + + tab_x = button_area.x + props.indicator_spacing.right + widget->style->xthickness; else tab_x = button_area.x + button_area.width -