Compare event->state with the default mod mask.

2001-12-13  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
	event->state with the default mod mask.
This commit is contained in:
Anders Carlsson 2001-12-13 17:25:22 +00:00 committed by Anders Carlsson
parent 3c458b09fa
commit 5a3de51ba1
8 changed files with 36 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-12-13 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.
2001-12-12 jacob berkman <jacob@ximian.com>
* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

View File

@ -1,3 +1,8 @@
2001-12-13 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.
2001-12-12 jacob berkman <jacob@ximian.com>
* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

View File

@ -1,3 +1,8 @@
2001-12-13 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.
2001-12-12 jacob berkman <jacob@ximian.com>
* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

View File

@ -1,3 +1,8 @@
2001-12-13 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.
2001-12-12 jacob berkman <jacob@ximian.com>
* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

View File

@ -1,3 +1,8 @@
2001-12-13 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.
2001-12-12 jacob berkman <jacob@ximian.com>
* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

View File

@ -1,3 +1,8 @@
2001-12-13 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.
2001-12-12 jacob berkman <jacob@ximian.com>
* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

View File

@ -1,3 +1,8 @@
2001-12-13 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.
2001-12-12 jacob berkman <jacob@ximian.com>
* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate

View File

@ -1756,7 +1756,7 @@ gtk_tree_view_button_press (GtkWidget *widget,
}
if (event->type == GDK_BUTTON_PRESS &&
!event->state)
!(event->state & gtk_accelerator_get_default_mod_mask ()))
{
GtkCellEditable *cell_editable = NULL;
/* FIXME: get the right flags */