From e3e7d22c381ec502bfa0b8496bbf49de40b37826 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 14 Apr 2020 17:28:12 +0200 Subject: [PATCH] Change default for embedding files via DnD Man new users drag/drop files onto the canvas without being aware that Ardour only references external files. This can break sessions when those files [re]moved. --- gtk2_ardour/rc_option_editor.cc | 2 +- gtk2_ardour/ui_config_vars.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 7f9ef59464..02def3cc4e 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2443,7 +2443,7 @@ RCOptionEditor::RCOptionEditor () add_option (_("General/Session"), new BoolOption ( "only-copy-imported-files", - _("Always copy imported files"), + _("Drag and drop import always copies files to session"), sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_only_copy_imported_files), sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_only_copy_imported_files) )); diff --git a/gtk2_ardour/ui_config_vars.h b/gtk2_ardour/ui_config_vars.h index f884d2a30a..1ecff7b1f7 100644 --- a/gtk2_ardour/ui_config_vars.h +++ b/gtk2_ardour/ui_config_vars.h @@ -46,7 +46,7 @@ UI_CONFIG_VARIABLE (std::string, keyboard_layout, "keyboard-layout", "ansi") UI_CONFIG_VARIABLE (std::string, keyboard_layout_name, "keyboard-layout-name", "ansi") UI_CONFIG_VARIABLE (std::string, default_bindings, "default-bindings", "ardour") UI_CONFIG_VARIABLE (std::string, vkeybd_layout, "vkeybd-layout", "QWERTY Single") -UI_CONFIG_VARIABLE (bool, only_copy_imported_files, "only-copy-imported-files", false) +UI_CONFIG_VARIABLE (bool, only_copy_imported_files, "only-copy-imported-files", true) UI_CONFIG_VARIABLE (bool, autoplay_files, "autoplay-files", false) UI_CONFIG_VARIABLE (bool, default_narrow_ms, "default-narrow_ms", false) UI_CONFIG_VARIABLE (bool, name_new_markers, "name-new-markers", false)