summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-09-26 15:06:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-09-26 15:06:38 +0000
commitddda6bc4f52e56983924a6ce4f41db4915972be8 (patch)
tree0c615493b65cedfcd439635de710d50a82aaf935 /gtk2_ardour/sfdb_ui.cc
parentaf895ef50d80bae4f5bb63ee563604804eeb2fb2 (diff)
expose new only-copy-imports parameter via GUI
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2487 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r--gtk2_ardour/sfdb_ui.cc11
1 files changed, 10 insertions, 1 deletions
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;