Add top/bottom style classes to scroll arrows

This commit is contained in:
Matthias Clasen 2014-10-10 07:43:36 -04:00
parent e78c3e2c8c
commit dcf80f3df5

View File

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