forked from AuroraMiddleware/gtk
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:
parent
889953f273
commit
e1e8a9b504
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user