Commit e1e8a9b5 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Make drops end up at the right spot. (#342072, Yevgen Muntyan)

2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops
	end up at the right spot.  (#342072,  Yevgen Muntyan)
parent 889953f2
2006-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops
end up at the right spot. (#342072, Yevgen Muntyan)
2006-05-18 Michael Natterer <mitch@imendio.com>
* gtk/gtkrange.c: canonicalize the name of the "activate-slider"
......
2006-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops
end up at the right spot. (#342072, Yevgen Muntyan)
2006-05-18 Michael Natterer <mitch@imendio.com>
* gtk/gtkrange.c: canonicalize the name of the "activate-slider"
......
......@@ -5098,6 +5098,9 @@ gtk_entry_drag_data_received (GtkWidget *widget,
str = (gchar *) gtk_selection_data_get_text (selection_data);
x -= widget->style->xthickness;
y -= widget->style->ythickness;
if (str && entry->editable)
{
gint new_position;
......
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