mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-28 20:09:20 +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:
parent
af0d2c78cb
commit
9743cb6fa7
2
TODO
2
TODO
@ -79,5 +79,3 @@ Future directions:
|
|||||||
- instead of blue screening, we could perhaps just skip the offending items and
|
- 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
|
replace them with a "here's a problem" marker that would still point to the
|
||||||
underlying object and allow repairs to be made
|
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
|
|
||||||
|
@ -486,6 +486,7 @@ static gboolean drag_canvas_drop(GtkWidget *widget,
|
|||||||
if (!canvas_frame_drop(dragging, x, y))
|
if (!canvas_frame_drop(dragging, x, y))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
gtk_drag_finish(drag_context, TRUE, FALSE, time_);
|
gtk_drag_finish(drag_context, TRUE, FALSE, time_);
|
||||||
|
drag_end(widget, drag_context, user_data);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user