mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Clean up DnD, use MIME-types
This is in preparation for allowing to drag trigger-regions or trigger-slots. Those will not use a static singleton PublicEditor API. Additionally this constrains Ardour-internal drags to Ardour (via Gtk::TARGET_SAME_APP).
This commit is contained in:
parent
1078dc7eda
commit
056189c76c
10 changed files with 32 additions and 28 deletions
|
|
@ -227,7 +227,7 @@ EditorSources::EditorSources (Editor* e)
|
|||
tv_col->set_expand (true);
|
||||
|
||||
_display.get_selection()->set_mode (SELECTION_MULTIPLE);
|
||||
_display.add_object_drag (_columns.region.index(), "regions");
|
||||
_display.add_object_drag (_columns.region.index (), "x-ardour/region.esl", TARGET_SAME_APP);
|
||||
_display.set_drag_column (_columns.name.index());
|
||||
|
||||
/* setup DnD handling */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue