forked from AuroraMiddleware/gtk
Add top/bottom style classes to scroll arrows
This commit is contained in:
parent
e78c3e2c8c
commit
dcf80f3df5
@ -3083,6 +3083,7 @@ gtk_menu_draw (GtkWidget *widget,
|
||||
{
|
||||
gtk_style_context_save (context);
|
||||
gtk_style_context_set_state (context, priv->upper_arrow_state);
|
||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_TOP);
|
||||
|
||||
gtk_render_background (context, cr,
|
||||
upper.x, upper.y,
|
||||
@ -3103,6 +3104,7 @@ gtk_menu_draw (GtkWidget *widget,
|
||||
{
|
||||
gtk_style_context_save (context);
|
||||
gtk_style_context_set_state (context, priv->lower_arrow_state);
|
||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_BOTTOM);
|
||||
|
||||
gtk_render_background (context, cr,
|
||||
lower.x, lower.y,
|
||||
|
Loading…
Reference in New Issue
Block a user