diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-11-08 21:53:31 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-11-08 21:53:31 +0000 |
commit | 13341b031bb52f862e4c98c05f99d434fc86e8e8 (patch) | |
tree | edf471f76b1b4a41675145300bd2fdcf1df9c029 /gtk/gtkoptionmenu.c | |
parent | 6d0cb3232e46d0ed07d0cb66bd9bfc9253e291ea (diff) | |
download | gdk-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.c | 2 |
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 - |