expose new only-copy-imports parameter via GUI

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2487 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-09-26 15:06:38 +00:00
parent af895ef50d
commit ddda6bc4f5
2 changed files with 14 additions and 4 deletions

View file

@ -357,9 +357,10 @@
<menuitem action='StopRecordingOnXrun'/>
<menuitem action='StopTransportAtEndOfSession'/>
<menuitem action='GainReduceFastTransport'/>
<menuitem action='PrimaryClockDeltaEditCursor'/>
<menuitem action='SecondaryClockDeltaEditCursor'/>
<separator/>
<menuitem action='PrimaryClockDeltaEditCursor'/>
<menuitem action='SecondaryClockDeltaEditCursor'/>
<menuitem action='OnlyCopyImportedFiles'/>
<separator/>
</menu>
<menu name='Help' action='Help'>
<menuitem action='About'/>

View file

@ -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;