+Thu Jun 13 12:01:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
+ a positive status unless there is a text target in
+ the drag. (#83386, Thomas Leonard.)
+
Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
+Thu Jun 13 12:01:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
+ a positive status unless there is a text target in
+ the drag. (#83386, Thomas Leonard.)
+
Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
+Thu Jun 13 12:01:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
+ a positive status unless there is a text target in
+ the drag. (#83386, Thomas Leonard.)
+
Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
+Thu Jun 13 12:01:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
+ a positive status unless there is a text target in
+ the drag. (#83386, Thomas Leonard.)
+
Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
+Thu Jun 13 12:01:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
+ a positive status unless there is a text target in
+ the drag. (#83386, Thomas Leonard.)
+
Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
+Thu Jun 13 12:01:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
+ a positive status unless there is a text target in
+ the drag. (#83386, Thomas Leonard.)
+
Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
old_position = entry->dnd_position;
new_position = gtk_entry_find_position (entry, x + entry->scroll_offset);
- if (entry->editable)
+ if (entry->editable &&
+ gtk_drag_dest_find_target (widget, context, NULL) != GDK_NONE)
{
source_widget = gtk_drag_get_source_widget (context);
suggested_action = context->suggested_action;
}
else
{
- /* Entry not editable */
+ /* Entry not editable, or no text */
suggested_action = 0;
entry->dnd_position = -1;
}