Commit 6bf9715c authored by Matthias Clasen's avatar Matthias Clasen
Browse files

notebook: show tabs when asked to

gtk_notebook_set_show_tabs must make the header gadget
visible when show_tabs is TRUE, not the other way around.

https://bugzilla.gnome.org/show_bug.cgi?id=760596
parent 9e2a1685
......@@ -6953,7 +6953,7 @@ gtk_notebook_set_show_tabs (GtkNotebook *notebook,
{
gtk_widget_set_can_focus (GTK_WIDGET (notebook), TRUE);
gtk_notebook_update_labels (notebook);
gtk_css_gadget_set_visible (priv->header_gadget, FALSE);
gtk_css_gadget_set_visible (priv->header_gadget, TRUE);
}
for (i = 0; i < N_ACTION_WIDGETS; i++)
......
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