notebook: don't force ACTIVE state flag on the label for active tab
This is just wrong, since it's not the tab label being active, but the tab itself.
This commit is contained in:
@ -6508,10 +6508,12 @@ gtk_notebook_update_tab_states (GtkNotebook *notebook)
|
||||
{
|
||||
GtkRegionFlags current_flags;
|
||||
|
||||
/*
|
||||
if (page == priv->cur_page)
|
||||
gtk_widget_set_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE, FALSE);
|
||||
else
|
||||
gtk_widget_unset_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE);
|
||||
*/
|
||||
|
||||
/* FIXME: We should store these flags somewhere instead of poking
|
||||
* the widget's path */
|
||||
|
||||
Reference in New Issue
Block a user