summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-10-25 21:50:19 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-10-25 21:50:19 +0000
commit449fdfbfff5817853a513a7256d7652baa3e071c (patch)
tree98122ef50a8e6711d332df654a948f8a6f9ddceb
parenta9fd75f871c0d9b0887531c5a33bd392aaa68ac6 (diff)
downloadgtk+-449fdfbfff5817853a513a7256d7652baa3e071c.tar.gz
Don't handle button 2/3 on the tabs. (#82118, Matt Wilson.)
Fri Oct 25 17:46:18 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c (gtk_notebook_button_press): Don't handle button 2/3 on the tabs. (#82118, 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 b1d8411bf6..651ec7f562 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Oct 25 17:46:18 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press):
+ Don't handle button 2/3 on the tabs. (#82118,
+ Matt Wilson.)
+
Fri Oct 25 17:32:44 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c: Don't insert mnemonics for stock
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index b1d8411bf6..651ec7f562 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+Fri Oct 25 17:46:18 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press):
+ Don't handle button 2/3 on the tabs. (#82118,
+ Matt Wilson.)
+
Fri Oct 25 17:32:44 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c: Don't insert mnemonics for stock
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index b1d8411bf6..651ec7f562 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,9 @@
+Fri Oct 25 17:46:18 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press):
+ Don't handle button 2/3 on the tabs. (#82118,
+ Matt Wilson.)
+
Fri Oct 25 17:32:44 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c: Don't insert mnemonics for stock
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index b1d8411bf6..651ec7f562 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,9 @@
+Fri Oct 25 17:46:18 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press):
+ Don't handle button 2/3 on the tabs. (#82118,
+ Matt Wilson.)
+
Fri Oct 25 17:32:44 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c: Don't insert mnemonics for stock
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index b1d8411bf6..651ec7f562 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,9 @@
+Fri Oct 25 17:46:18 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press):
+ Don't handle button 2/3 on the tabs. (#82118,
+ Matt Wilson.)
+
Fri Oct 25 17:32:44 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c: Don't insert mnemonics for stock
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index b1d8411bf6..651ec7f562 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+Fri Oct 25 17:46:18 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press):
+ Don't handle button 2/3 on the tabs. (#82118,
+ Matt Wilson.)
+
Fri Oct 25 17:32:44 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c: Don't insert mnemonics for stock
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index e0d27da7f9..d69a34cbc2 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -1595,6 +1595,9 @@ gtk_notebook_button_press (GtkWidget *widget,
return TRUE;
}
+ if (event->button != 1)
+ return FALSE;
+
num = 0;
children = notebook->children;
while (children)