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.)
This commit is contained in:
Owen Taylor
2002-10-25 21:50:19 +00:00
committed by Owen Taylor
parent a9fd75f871
commit 449fdfbfff
7 changed files with 39 additions and 0 deletions

View File

@ -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)