Commit 0809d9fe authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

always chain up the drag_motion signal to allow gtktextview to scroll the

	* gedit/gedit-view.c: always chain up the drag_motion signal to allow
	gtktextview to scroll the view and move the dnd mark

svn path=/trunk/; revision=5744
parent 1889aa7b
2007-07-26 Jesse van den Kieboom <jesse@icecrew.nl>
* gedit/gedit-view.c: always chain up the drag_motion signal to allow
gtktextview to scroll the view and move the dnd mark
2007-07-25 Jesse van den Kieboom <jesse@icecrew.nl>
* gedit/gedit-view.c: added call to gtk_drag_finish after emitting
......
......@@ -1729,17 +1729,17 @@ gedit_view_drag_motion (GtkWidget *widget,
{
gboolean result;
/* If this is a URL, deal with it here, or pass to the text view */
/* Chain up to allow textview to scroll and position dnd mark, note
* that this needs to be checked if gtksourceview or gtktextview
* changes drag_motion behaviour */
result = GTK_WIDGET_CLASS (gedit_view_parent_class)->drag_motion (widget, context, x, y, time);
/* If this is a URL, deal with it here */
if (drag_get_uri_target (widget, context) != GDK_NONE)
{
gdk_drag_status (context, context->suggested_action, time);
result = TRUE;
}
else
{
/* Chain up */
result = GTK_WIDGET_CLASS (gedit_view_parent_class)->drag_motion (widget, context, x, y, time);
}
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment