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 + + * 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 * 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 + + * 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 * 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 + + * 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 * 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 + + * 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 * 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 + + * 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 * 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 + + * 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 * 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)