diff --git a/ChangeLog b/ChangeLog index 651ec7f562..17fd2e6969 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Oct 25 17:56:24 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): + Always switch to the page with the focused tab + label. (#82108, Matt Wilson.) + Fri Oct 25 17:46:18 2002 Owen Taylor * gtk/gtknotebook.c (gtk_notebook_button_press): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 651ec7f562..17fd2e6969 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Fri Oct 25 17:56:24 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): + Always switch to the page with the focused tab + label. (#82108, Matt Wilson.) + Fri Oct 25 17:46:18 2002 Owen Taylor * gtk/gtknotebook.c (gtk_notebook_button_press): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 651ec7f562..17fd2e6969 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Fri Oct 25 17:56:24 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): + Always switch to the page with the focused tab + label. (#82108, Matt Wilson.) + Fri Oct 25 17:46:18 2002 Owen Taylor * gtk/gtknotebook.c (gtk_notebook_button_press): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 651ec7f562..17fd2e6969 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Fri Oct 25 17:56:24 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): + Always switch to the page with the focused tab + label. (#82108, Matt Wilson.) + Fri Oct 25 17:46:18 2002 Owen Taylor * gtk/gtknotebook.c (gtk_notebook_button_press): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 651ec7f562..17fd2e6969 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Fri Oct 25 17:56:24 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): + Always switch to the page with the focused tab + label. (#82108, Matt Wilson.) + Fri Oct 25 17:46:18 2002 Owen Taylor * gtk/gtknotebook.c (gtk_notebook_button_press): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 651ec7f562..17fd2e6969 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Fri Oct 25 17:56:24 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): + Always switch to the page with the focused tab + label. (#82108, Matt Wilson.) + Fri Oct 25 17:46:18 2002 Owen Taylor * gtk/gtknotebook.c (gtk_notebook_button_press): diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index d69a34cbc2..27567ecc88 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -3681,6 +3681,9 @@ gtk_notebook_switch_focus_tab (GtkNotebook *notebook, gtk_notebook_focus_changed (notebook, old_page); else gtk_notebook_pages_allocate (notebook); + + gtk_notebook_switch_page (notebook, page, + g_list_index (notebook->children, page)); } static void