forked from AuroraMiddleware/gtk
Default handling for drops should be keyed on GTK_DRAG_DEFAULT_DROP not
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling for drops should be keyed on GTK_DRAG_DEFAULT_DROP not GTK_DRAG_DEFAULT_MOTION.
This commit is contained in:
parent
a646da3f1e
commit
e7b04a53ac
@ -1,3 +1,9 @@
|
||||
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
|
||||
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
|
||||
not GTK_DRAG_DEFAULT_MOTION.
|
||||
|
||||
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||
|
||||
* gtk/gtkclist.c (real_remove_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
|
||||
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
|
||||
not GTK_DRAG_DEFAULT_MOTION.
|
||||
|
||||
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||
|
||||
* gtk/gtkclist.c (real_remove_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
|
||||
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
|
||||
not GTK_DRAG_DEFAULT_MOTION.
|
||||
|
||||
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||
|
||||
* gtk/gtkclist.c (real_remove_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
|
||||
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
|
||||
not GTK_DRAG_DEFAULT_MOTION.
|
||||
|
||||
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||
|
||||
* gtk/gtkclist.c (real_remove_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
|
||||
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
|
||||
not GTK_DRAG_DEFAULT_MOTION.
|
||||
|
||||
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||
|
||||
* gtk/gtkclist.c (real_remove_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
|
||||
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
|
||||
not GTK_DRAG_DEFAULT_MOTION.
|
||||
|
||||
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||
|
||||
* gtk/gtkclist.c (real_remove_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
|
||||
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
|
||||
not GTK_DRAG_DEFAULT_MOTION.
|
||||
|
||||
Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||
|
||||
* gtk/gtkclist.c (real_remove_row):
|
||||
|
@ -1428,7 +1428,7 @@ gtk_drag_dest_drop (GtkWidget *widget,
|
||||
{
|
||||
gboolean retval;
|
||||
|
||||
if (site->flags & GTK_DEST_DEFAULT_MOTION)
|
||||
if (site->flags & GTK_DEST_DEFAULT_DROP)
|
||||
{
|
||||
GdkAtom target = gtk_drag_dest_find_target (widget, site, context);
|
||||
|
||||
@ -1441,7 +1441,7 @@ gtk_drag_dest_drop (GtkWidget *widget,
|
||||
gtk_signal_emit_by_name (GTK_OBJECT (widget), "drag_drop",
|
||||
context, x, y, time, &retval);
|
||||
|
||||
return (site->flags & GTK_DEST_DEFAULT_MOTION) ? TRUE : retval;
|
||||
return (site->flags & GTK_DEST_DEFAULT_DROP) ? TRUE : retval;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user