Commit 6a5e68c9 authored by
Allow all sorts of things to be dropped on or in between the items of a
2004-06-28 Michael Natterer <email@example.com> Allow all sorts of things to be dropped on or in between the items of a GimpContainerTreeView: * app/widgets/gimpcontainertreeview.[ch]: added more parameters to GimpContainerTreeView::drop_possible() to specify where ecactly the drop should take place (between or into items) and to support dropping all sorts of things. Renamed ::drop() to ::drop_viewable() and added ::drop_color(), ::drop_files() and ::drop_svg(), which cover all possible drop types. * app/widgets/gimpcontainertreeview-dnd.[ch]: changed accordingly. Dispatch all kinds of drops to the resp. virtual functions. * app/widgets/gimpitemtreeview.c: changed accordingly. * app/widgets/gimplayertreeview.c: allow to drop URIs, colors and patterns to the layers dialog. Fixes bugs #119506 and #139246.
Showing with 473 additions and 82 deletions