fixed double click bug.

Sat Jan 16 05:02:22 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
This commit is contained in:
Lars Hamann 1999-01-16 04:21:46 +00:00 committed by Lars Hamann
parent b35b174773
commit 5c7acbbf42
8 changed files with 28 additions and 6 deletions

View File

@ -1,3 +1,7 @@
Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk

View File

@ -1,3 +1,7 @@
Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk

View File

@ -1,3 +1,7 @@
Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk

View File

@ -1,3 +1,7 @@
Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk

View File

@ -1,3 +1,7 @@
Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk

View File

@ -1,3 +1,7 @@
Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk

View File

@ -1,3 +1,7 @@
Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk

View File

@ -4855,9 +4855,6 @@ gtk_clist_button_press (GtkWidget *widget,
/* selections on the list */
if (event->window == clist->clist_window)
{
if (clist->drag_button)
return FALSE;
x = event->x;
y = event->y;
@ -4884,9 +4881,6 @@ gtk_clist_button_press (GtkWidget *widget,
}
else
{
if (clist->click_cell.row >= 0 || clist->click_cell.column >= 0)
return FALSE;
clist->click_cell.row = -1;
clist->click_cell.column = -1;