r5938 - trunk/eda/fped

werner at docs.openmoko.org werner at docs.openmoko.org
Sun Apr 25 02:37:05 CEST 2010


Author: werner
Date: 2010-04-25 02:37:04 +0200 (Sun, 25 Apr 2010)
New Revision: 5938

Modified:
   trunk/eda/fped/TODO
   trunk/eda/fped/gui_frame_drag.c
Log:
One more little DND surprise: drag-end doesn't get called if have a successful
drag-drop. So we have to explicitly clear "dragging", or the last frame
successfully referenced suddenly becomes unselectable.

- gui_frame_drag.c (drag_canvas_drop): call drag_end to clear "dragging"
- TODO: removed the entry about the frame reference procedure



Modified: trunk/eda/fped/TODO
===================================================================
--- trunk/eda/fped/TODO	2010-04-25 00:11:45 UTC (rev 5937)
+++ trunk/eda/fped/TODO	2010-04-25 00:37:04 UTC (rev 5938)
@@ -79,5 +79,3 @@
 - instead of blue screening, we could perhaps just skip the offending items and
   replace them with a "here's a problem" marker that would still point to the
   underlying object and allow repairs to be made
-- instead of the awkward lock-switch-anchor process for frame references, we
-  could just drag the frame name into the canvas

Modified: trunk/eda/fped/gui_frame_drag.c
===================================================================
--- trunk/eda/fped/gui_frame_drag.c	2010-04-25 00:11:45 UTC (rev 5937)
+++ trunk/eda/fped/gui_frame_drag.c	2010-04-25 00:37:04 UTC (rev 5938)
@@ -486,6 +486,7 @@
 	if (!canvas_frame_drop(dragging, x, y))
 		return FALSE;
 	gtk_drag_finish(drag_context, TRUE, FALSE, time_);
+	drag_end(widget, drag_context, user_data);
 	return TRUE;
 }
 




More information about the commitlog mailing list