summaryrefslogtreecommitdiff
path: root/gtk/gtkoptionmenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-11-08 21:53:31 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-11-08 21:53:31 +0000
commit13341b031bb52f862e4c98c05f99d434fc86e8e8 (patch)
treeedf471f76b1b4a41675145300bd2fdcf1df9c029 /gtk/gtkoptionmenu.c
parent6d0cb3232e46d0ed07d0cb66bd9bfc9253e291ea (diff)
downloadgdk-pixbuf-13341b031bb52f862e4c98c05f99d434fc86e8e8.tar.gz
Fix drawing of RTL optionmenus by flipping the indicator_spacing.
* gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL optionmenus by flipping the indicator_spacing.
Diffstat (limited to 'gtk/gtkoptionmenu.c')
-rw-r--r--gtk/gtkoptionmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c
index ba4fa7fff..257b16f4d 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 -