diff options
author | Robin Gareus <robin@gareus.org> | 2019-05-13 15:43:58 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-05-13 15:44:11 +0200 |
commit | 8ae4fe1aa9c24697eb427a432b8c5da8e90e80f3 (patch) | |
tree | 2c2734b7301cf25685d60c7beb7da827a8cb2f64 /gtk2_ardour/editor_regions.cc | |
parent | 184647612795c01007f49c5f4f6abc7154fd8338 (diff) |
Prefer to receive URI-lists for DnD
This fixes an issue when embedding external files with ISO or some non
ASCII encodings (KDE/dolphin file-manager does not UTF-8 encode
filenames for plain/text DnD). But does so for URIs.
See also #7253 and previous commit
Diffstat (limited to 'gtk2_ardour/editor_regions.cc')
-rw-r--r-- | gtk2_ardour/editor_regions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_regions.cc b/gtk2_ardour/editor_regions.cc index 4e025225f6..c8c93bd269 100644 --- a/gtk2_ardour/editor_regions.cc +++ b/gtk2_ardour/editor_regions.cc @@ -241,8 +241,8 @@ EditorRegions::EditorRegions (Editor* e) list<TargetEntry> region_list_target_table; - region_list_target_table.push_back (TargetEntry ("text/plain")); region_list_target_table.push_back (TargetEntry ("text/uri-list")); + region_list_target_table.push_back (TargetEntry ("text/plain")); region_list_target_table.push_back (TargetEntry ("application/x-rootwin-drop")); _display.add_drop_targets (region_list_target_table); |