1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-25 01:15:55 +02:00

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



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5938 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner 2010-04-25 00:37:04 +00:00
parent af0d2c78cb
commit 9743cb6fa7
2 changed files with 1 additions and 2 deletions

2
TODO
View File

@ -79,5 +79,3 @@ Future directions:
- 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

View File

@ -486,6 +486,7 @@ static gboolean drag_canvas_drop(GtkWidget *widget,
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;
}