Improve drawing of RTL submenu indicators.
* gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL submenu indicators.
This commit is contained in:
parent
13341b031b
commit
6b7b0c2bc3
7 changed files with 21 additions and 2 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue