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 | |
parent | a9fd75f871c0d9b0887531c5a33bd392aaa68ac6 (diff) | |
download | gtk+-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-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtknotebook.c | 3 |
7 files changed, 39 insertions, 0 deletions
@@ -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) |