Improve drawing of RTL submenu indicators.
* gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL submenu indicators.
This commit is contained in:
@ -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.
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
@ -3003,7 +3003,8 @@ gtk_default_draw_arrow (GtkStyle *style,
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user