From ddda6bc4f52e56983924a6ce4f41db4915972be8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 26 Sep 2007 15:06:38 +0000 Subject: [PATCH] expose new only-copy-imports parameter via GUI git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2487 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour.menus | 7 ++++--- gtk2_ardour/sfdb_ui.cc | 11 ++++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/ardour.menus b/gtk2_ardour/ardour.menus index d1e7171059..128ca81c27 100644 --- a/gtk2_ardour/ardour.menus +++ b/gtk2_ardour/ardour.menus @@ -357,9 +357,10 @@ - - - + + + + diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc index 2b3c735c90..82c5823fd9 100644 --- a/gtk2_ardour/sfdb_ui.cc +++ b/gtk2_ardour/sfdb_ui.cc @@ -629,8 +629,17 @@ SoundFileOmega::reset_options () channel_combo.set_sensitive (true); action_combo.set_sensitive (true); where_combo.set_sensitive (true); - copy_files_btn.set_sensitive (true); + /* if we get through this function successfully, this may be + reset at the end, once we know if we can use hard links + to do embedding + */ + + if (Config->get_only_copy_imported_files()) { + copy_files_btn.set_sensitive (false); + } else { + copy_files_btn.set_sensitive (false); + } } bool same_size;