Commit 13341b03 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

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.
parent 6d0cb323
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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 <sandmann@daimi.au.dk>
* tests/Makefile.am: add testmenus.c, a program to test menus when
......
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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 <sandmann@daimi.au.dk>
* tests/Makefile.am: add testmenus.c, a program to test menus when
......
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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 <sandmann@daimi.au.dk>
* tests/Makefile.am: add testmenus.c, a program to test menus when
......
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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 <sandmann@daimi.au.dk>
* tests/Makefile.am: add testmenus.c, a program to test menus when
......
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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 <sandmann@daimi.au.dk>
* tests/Makefile.am: add testmenus.c, a program to test menus when
......
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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 <sandmann@daimi.au.dk>
* tests/Makefile.am: add testmenus.c, a program to test menus when
......
......@@ -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 -
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment