Always switch to the page with the focused tab label. (#82108, Matt

Fri Oct 25 17:56:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
        Always switch to the page with the focused tab
        label. (#82108, Matt Wilson.)
This commit is contained in:
Owen Taylor
2002-10-25 21:59:10 +00:00
committed by Owen Taylor
parent 449fdfbfff
commit 37b4521264
7 changed files with 39 additions and 0 deletions

View File

@ -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