forked from AuroraMiddleware/gtk
Only respond to selection with button 1. This allows context-sensitive
Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtklist.c (gtk_list_button_press): Only respond to selection with button 1. This allows context-sensitive menus to work correctly.
This commit is contained in:
parent
3c90c2cd53
commit
5c5a45f9b0
@ -1,3 +1,9 @@
|
||||
Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* 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 <timj@gtk.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* 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 <timj@gtk.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* 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 <timj@gtk.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* 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 <timj@gtk.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* 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 <timj@gtk.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* 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 <timj@gtk.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* 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 <timj@gtk.org>
|
||||
|
||||
* gtk/gtkaccelgroup.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))
|
||||
|
Loading…
Reference in New Issue
Block a user