[evolution-patches] [gtkhtml] #53368 DnDed images don't always end up correctly targeted
- From: Radek Doulík <rodo novell com>
- To: Patches <evolution-patches ximian com>
- Cc: Larry Ewing <lewing ximian com>
- Subject: [evolution-patches] [gtkhtml] #53368 DnDed images don't always end up correctly targeted
- Date: Wed, 29 Sep 2004 12:31:57 +0200
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2044
diff -u -p -r1.2044 ChangeLog
--- ChangeLog 28 Sep 2004 20:00:56 -0000 1.2044
+++ ChangeLog 29 Sep 2004 10:30:32 -0000
@@ -1,3 +1,10 @@
+2004-09-29 Radek Doulik <rodo ximian com>
+
+ * gtkhtml.c (drag_data_received): call gdk_window_get_pointer so
+ that we get window coordinates
+
+ Fixes #53368
+
2004-09-28 Radek Doulik <rodo ximian com>
* htmlclueflow.c (save_plain): do not let wi drop under clen. it
Index: gtkhtml.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml.c,v
retrieving revision 1.576
diff -u -p -r1.576 gtkhtml.c
--- gtkhtml.c 23 Sep 2004 18:43:01 -0000 1.576
+++ gtkhtml.c 29 Sep 2004 10:30:33 -0000
@@ -2533,6 +2533,7 @@ drag_data_received (GtkWidget *widget, G
if (!selection_data->data || selection_data->length < 0 || !html_engine_get_editable (engine))
return;
+ gdk_window_get_pointer (GTK_LAYOUT (widget)->bin_window, &x, &y, NULL);
move_before_paste (widget, x, y);
switch (info) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]