Commit 6f17c408 authored by William Jon McCann's avatar William Jon McCann

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.
parent 05343301
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment