summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-01-18 16:10:20 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-01-18 16:13:25 -0500
commit70cf23a72956ec49c10867724b249bdcdee98d4f (patch)
tree275c381f7263405bf56784f0b6db819cb1bdfa61 /gtk/gtknotebook.c
parentba9546ff3223fc098a3c60688bcc369a280da820 (diff)
downloadgtk+-70cf23a72956ec49c10867724b249bdcdee98d4f.tar.gz
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.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 32cdee71ee..62a8535137 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -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 */