[Goodies-commits] r4569 - xfce4-dict/trunk/lib

Enrico Troeger enrico at xfce.org
Mon Apr 14 20:47:38 CEST 2008


Author: enrico
Date: 2008-04-14 18:47:38 +0000 (Mon, 14 Apr 2008)
New Revision: 4569

Modified:
   xfce4-dict/trunk/lib/gui.c
Log:
Add not yet working DnD callback to receive dragged text in the main textview.


Modified: xfce4-dict/trunk/lib/gui.c
===================================================================
--- xfce4-dict/trunk/lib/gui.c	2008-04-14 18:47:34 UTC (rev 4568)
+++ xfce4-dict/trunk/lib/gui.c	2008-04-14 18:47:38 UTC (rev 4569)
@@ -307,6 +307,9 @@
 
 	/* DnD */
 	g_signal_connect(dd->main_entry, "drag-data-received", G_CALLBACK(dict_drag_data_received), dd);
+	/* TODO: find a way to get this working, the treeview doesn't receive anything as long as it isn't
+	 * editable. scrolledwindow_results and a surrounding event box as receivers also don't work. */
+	g_signal_connect(dd->main_textview, "drag-data-received", G_CALLBACK(dict_drag_data_received), dd);
 }
 
 




More information about the Goodies-commits mailing list