]> Pileus Git - ~andy/gtk/commitdiff
Always switch to the page with the focused tab label. (#82108, Matt
authorOwen Taylor <otaylor@redhat.com>
Fri, 25 Oct 2002 21:59:10 +0000 (21:59 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 25 Oct 2002 21:59:10 +0000 (21:59 +0000)
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.)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtknotebook.c

index 651ec7f562de702c60cab1b1b0c0b49a899eff0a..17fd2e69690eda0f8feec922ee251d91d87eb405 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.)
+
 Fri Oct 25 17:46:18 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_button_press): 
index 651ec7f562de702c60cab1b1b0c0b49a899eff0a..17fd2e69690eda0f8feec922ee251d91d87eb405 100644 (file)
@@ -1,3 +1,9 @@
+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.)
+
 Fri Oct 25 17:46:18 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_button_press): 
index 651ec7f562de702c60cab1b1b0c0b49a899eff0a..17fd2e69690eda0f8feec922ee251d91d87eb405 100644 (file)
@@ -1,3 +1,9 @@
+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.)
+
 Fri Oct 25 17:46:18 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_button_press): 
index 651ec7f562de702c60cab1b1b0c0b49a899eff0a..17fd2e69690eda0f8feec922ee251d91d87eb405 100644 (file)
@@ -1,3 +1,9 @@
+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.)
+
 Fri Oct 25 17:46:18 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_button_press): 
index 651ec7f562de702c60cab1b1b0c0b49a899eff0a..17fd2e69690eda0f8feec922ee251d91d87eb405 100644 (file)
@@ -1,3 +1,9 @@
+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.)
+
 Fri Oct 25 17:46:18 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_button_press): 
index 651ec7f562de702c60cab1b1b0c0b49a899eff0a..17fd2e69690eda0f8feec922ee251d91d87eb405 100644 (file)
@@ -1,3 +1,9 @@
+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.)
+
 Fri Oct 25 17:46:18 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_button_press): 
index d69a34cbc2133854b8238476248d024049a849c2..27567ecc885a12c1f58907019433f2f11bdc1ae4 100644 (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