fix for dnd bug reported by Bertrand Guiheneuf. Don't return FALSE if

Wed Jan  6 23:14:19 1999  Lars Hamann  <lars@gtk.org>

	* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
	by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
	widget.
This commit is contained in:
Lars Hamann 1999-01-06 22:26:03 +00:00 committed by Lars Hamann
parent 216d83587f
commit f28c909c58
8 changed files with 28 additions and 20 deletions

View File

@ -1,6 +1,8 @@
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* configure.in,po/it.po: added Italian translations
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>

View File

@ -1,6 +1,8 @@
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* configure.in,po/it.po: added Italian translations
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>

View File

@ -1,6 +1,8 @@
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* configure.in,po/it.po: added Italian translations
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>

View File

@ -1,6 +1,8 @@
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* configure.in,po/it.po: added Italian translations
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>

View File

@ -1,6 +1,8 @@
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* configure.in,po/it.po: added Italian translations
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>

View File

@ -1,6 +1,8 @@
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* configure.in,po/it.po: added Italian translations
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>

View File

@ -1,6 +1,8 @@
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* configure.in,po/it.po: added Italian translations
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>

View File

@ -5878,12 +5878,6 @@ gtk_ctree_drag_motion (GtkWidget *widget,
clist = GTK_CLIST (widget);
ctree = GTK_CTREE (widget);
if (gtk_drag_get_source_widget (context) != widget)
{
gdk_drag_status (context, GDK_ACTION_DEFAULT, time);
return FALSE;
}
y -= (GTK_CONTAINER (widget)->border_width +
widget->style->klass->ythickness + clist->column_title_area.height);
row = ROW_FROM_YPIXEL (clist, y);