diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-10-25 21:50:19 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-10-25 21:50:19 +0000 |
commit | 449fdfbfff5817853a513a7256d7652baa3e071c (patch) | |
tree | 98122ef50a8e6711d332df654a948f8a6f9ddceb /gtk | |
parent | a9fd75f871c0d9b0887531c5a33bd392aaa68ac6 (diff) | |
download | gdk-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.c | 3 |
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) |