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)
This commit is contained in:
Matthias Clasen 2006-05-18 16:42:56 +00:00 committed by Matthias Clasen
parent 889953f273
commit e1e8a9b504
3 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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"

View File

@ -1,3 +1,8 @@
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"

View File

@ -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;