forked from AuroraMiddleware/gtk
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:
parent
ba9546ff32
commit
70cf23a729
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user