Commit dfe0c8c0ca4823c77fa71b0048f6454958170b4e

  • avatar
  • xan
  • Fri Aug 07 14:51:17 CEST 2009
Revert "Bug 590959 - Set child_has_focus flag properly"

This reverts commit 6e0af6c25225440263792a3cbecd8f4301e3def5.

The patch seems to break focus handling in some applications, like
Epiphany.
  
30943094gtk_notebook_focus_in (GtkWidget *widget,
30953095 GdkEventFocus *event)
30963096{
3097 GTK_NOTEBOOK (widget)->child_has_focus = FALSE;
3098
30973099 gtk_notebook_redraw_tabs (GTK_NOTEBOOK (widget));
30983100
30993101 return FALSE;
39783978 }
39793979 }
39803980 }
3981 else
3982 notebook->child_has_focus = FALSE;
39833981
39843982 GTK_CONTAINER_CLASS (gtk_notebook_parent_class)->set_focus_child (container, child);
39853983}