summaryrefslogtreecommitdiff
path: root/gtk
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 /gtk
parenta9fd75f871c0d9b0887531c5a33bd392aaa68ac6 (diff)
downloadgdk-pixbuf-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.)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtknotebook.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index e0d27da7f..d69a34cbc 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)