notebook: inform the theme to draw borders when requested

When the show-border property is TRUE ask the theme to draw
borders on the notebook header.
This commit is contained in:
William Jon McCann
2013-10-04 18:01:31 -04:00
parent 053433010b
commit 6f17c408e6

View File

@ -5240,6 +5240,8 @@ gtk_notebook_paint (GtkWidget *widget,
}
gtk_style_context_add_class (context, GTK_STYLE_CLASS_HEADER);
if (priv->show_border)
gtk_style_context_add_class (context, GTK_STYLE_CLASS_FRAME);
gtk_render_background (context, cr,
header_x, header_y, header_width, header_height);
gtk_render_frame (context, cr,