Commit c5865e49 authored by
changed drag source stuff to allow multiple data types. Changed DND source
2003-11-20 Michael Natterer <firstname.lastname@example.org> * app/widgets/gimpdnd.[ch]: changed drag source stuff to allow multiple data types. Changed DND source API to speak in terms of add()/remove() instead of set()/unset(). Added GimpDndDragFileFunc typedef and gimp_dnd_file_source_add(). Unfortunately GTK+'s DND API lacks symmetry here (no GtkTargetList based API for drag sources), so we cannot really change drag sources on-the-fly and need to set GtkTargetEntry arrays manually. * app/widgets/gimpcolormapeditor.c * app/widgets/gimpcontainertreeview.c * app/widgets/gimpmenuitem.c * app/widgets/gimppaletteeditor.c * app/widgets/gimppreview.c * app/widgets/gimptoolbox-color-area.c: changed accordingly. * app/widgets/gimpdocumentview.c: ditto. Additionally offer "text/uri-list" so it's possible to drag images from the document history to the file manager or browser.
Showing with 415 additions and 182 deletions