mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
GUI option to Exclude unused sources
This commit is contained in:
parent
8018bed0de
commit
8e8a0a9ef4
3 changed files with 22 additions and 4 deletions
|
|
@ -33,6 +33,7 @@ using namespace ARDOUR;
|
|||
SessionArchiveDialog::SessionArchiveDialog ()
|
||||
: ArdourDialog (_("Zip/Archive Session"))
|
||||
, ProgressReporter ()
|
||||
, only_used_checkbox (_("Exclude unused audio sources"))
|
||||
{
|
||||
VBox* vbox = get_vbox();
|
||||
|
||||
|
|
@ -71,6 +72,8 @@ SessionArchiveDialog::SessionArchiveDialog ()
|
|||
hbox->pack_start (encode_selector, true, true);
|
||||
vbox->pack_start (*hbox, false, false);
|
||||
|
||||
vbox->pack_start (only_used_checkbox, false, false);
|
||||
|
||||
vbox->pack_start (progress_bar, true, true, 12);
|
||||
|
||||
vbox->show_all ();
|
||||
|
|
@ -132,6 +135,18 @@ SessionArchiveDialog::set_name (const std::string& name)
|
|||
name_entry_changed ();
|
||||
}
|
||||
|
||||
bool
|
||||
SessionArchiveDialog::only_used_sources () const
|
||||
{
|
||||
return only_used_checkbox.get_active ();
|
||||
}
|
||||
|
||||
void
|
||||
SessionArchiveDialog::set_only_used_sources (bool en)
|
||||
{
|
||||
only_used_checkbox.set_active (en);
|
||||
}
|
||||
|
||||
ARDOUR::Session::ArchiveEncode
|
||||
SessionArchiveDialog::encode_option () const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue