diff --git a/ChangeLog b/ChangeLog index f0645b183..e794d4e6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-18 Matthias Clasen + + * gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops + end up at the right spot. (#342072, Yevgen Muntyan) + 2006-05-18 Michael Natterer * gtk/gtkrange.c: canonicalize the name of the "activate-slider" diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f0645b183..e794d4e6d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-05-18 Matthias Clasen + + * gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops + end up at the right spot. (#342072, Yevgen Muntyan) + 2006-05-18 Michael Natterer * gtk/gtkrange.c: canonicalize the name of the "activate-slider" diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 8892d43a3..be5532a5d 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -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;