summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-10-25 21:59:10 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-10-25 21:59:10 +0000
commit37b4521264fd726a3cc0467dea581e245386ddde (patch)
tree870476f59d4b95d5b2d32b0955545ff280622794
parent449fdfbfff5817853a513a7256d7652baa3e071c (diff)
downloadgtk+-37b4521264fd726a3cc0467dea581e245386ddde.tar.gz
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.)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gtk/gtknotebook.c3
7 files changed, 39 insertions, 0 deletions
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 <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):
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 <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):
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 <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):
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 <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):
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 <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):
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 <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):
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