diff --git a/ChangeLog b/ChangeLog index 2bfd7a1d5f..61e10299c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Jun 18 23:08:36 1998 Owen Taylor + + * gtk/gtklist.c (gtk_list_button_press): Only respond + to selection with button 1. This allows context-sensitive + menus to work correctly. + Fri Jun 19 03:29:04 1998 Tim Janik * gtk/gtkaccelgroup.c: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 2bfd7a1d5f..61e10299c4 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Thu Jun 18 23:08:36 1998 Owen Taylor + + * gtk/gtklist.c (gtk_list_button_press): Only respond + to selection with button 1. This allows context-sensitive + menus to work correctly. + Fri Jun 19 03:29:04 1998 Tim Janik * gtk/gtkaccelgroup.c: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 2bfd7a1d5f..61e10299c4 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Thu Jun 18 23:08:36 1998 Owen Taylor + + * gtk/gtklist.c (gtk_list_button_press): Only respond + to selection with button 1. This allows context-sensitive + menus to work correctly. + Fri Jun 19 03:29:04 1998 Tim Janik * gtk/gtkaccelgroup.c: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 2bfd7a1d5f..61e10299c4 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Thu Jun 18 23:08:36 1998 Owen Taylor + + * gtk/gtklist.c (gtk_list_button_press): Only respond + to selection with button 1. This allows context-sensitive + menus to work correctly. + Fri Jun 19 03:29:04 1998 Tim Janik * gtk/gtkaccelgroup.c: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 2bfd7a1d5f..61e10299c4 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Thu Jun 18 23:08:36 1998 Owen Taylor + + * gtk/gtklist.c (gtk_list_button_press): Only respond + to selection with button 1. This allows context-sensitive + menus to work correctly. + Fri Jun 19 03:29:04 1998 Tim Janik * gtk/gtkaccelgroup.c: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 2bfd7a1d5f..61e10299c4 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Thu Jun 18 23:08:36 1998 Owen Taylor + + * gtk/gtklist.c (gtk_list_button_press): Only respond + to selection with button 1. This allows context-sensitive + menus to work correctly. + Fri Jun 19 03:29:04 1998 Tim Janik * gtk/gtkaccelgroup.c: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 2bfd7a1d5f..61e10299c4 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Thu Jun 18 23:08:36 1998 Owen Taylor + + * gtk/gtklist.c (gtk_list_button_press): Only respond + to selection with button 1. This allows context-sensitive + menus to work correctly. + Fri Jun 19 03:29:04 1998 Tim Janik * gtk/gtkaccelgroup.c: diff --git a/gtk/gtklist.c b/gtk/gtklist.c index fcba63c2fc..c9797c34b3 100644 --- a/gtk/gtklist.c +++ b/gtk/gtklist.c @@ -757,7 +757,7 @@ gtk_list_button_press (GtkWidget *widget, list = GTK_LIST (widget); item = gtk_get_event_widget ((GdkEvent*) event); - if (list->button && (list->button != event->button)) + if ((event->button != 1) || (list->button)) return FALSE; while (item && !GTK_IS_LIST_ITEM (item))