Commit 13a3954a authored by Carlos Garnacho's avatar Carlos Garnacho

GtkNotebook: only set/unset active flag on the tab label

parent b3ba85a0
......@@ -6242,9 +6242,9 @@ gtk_notebook_update_tab_states (GtkNotebook *notebook)
if (page->tab_label)
{
if (page == priv->cur_page)
gtk_widget_set_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE, TRUE);
gtk_widget_set_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE, FALSE);
else
gtk_widget_set_state_flags (page->tab_label, 0, TRUE);
gtk_widget_unset_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE);
gtk_widget_reset_style (page->tab_label);
}
......
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