Improve drawing of RTL submenu indicators.

* gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL
	submenu indicators.
This commit is contained in:
Matthias Clasen
2002-11-08 21:55:43 +00:00
parent 13341b031b
commit 6b7b0c2bc3
7 changed files with 21 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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.

View File

@ -1,5 +1,8 @@
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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.

View File

@ -1,5 +1,8 @@
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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.

View File

@ -1,5 +1,8 @@
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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.

View File

@ -1,5 +1,8 @@
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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.

View File

@ -1,5 +1,8 @@
2002-11-08 Matthias Clasen <maclas@gmx.de>
* 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.

View File

@ -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)