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
This commit is contained in:
parent
9e2a1685c5
commit
6bf9715ce4
@ -6953,7 +6953,7 @@ gtk_notebook_set_show_tabs (GtkNotebook *notebook,
|
|||||||
{
|
{
|
||||||
gtk_widget_set_can_focus (GTK_WIDGET (notebook), TRUE);
|
gtk_widget_set_can_focus (GTK_WIDGET (notebook), TRUE);
|
||||||
gtk_notebook_update_labels (notebook);
|
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++)
|
for (i = 0; i < N_ACTION_WIDGETS; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user