summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2015-08-04 14:49:27 -0500
committerBen Loftis <ben@harrisonconsoles.com>2015-08-04 14:49:46 -0500
commit3cbd73de498b2136c9821030c41d6861d71c29f1 (patch)
treec55372e12948b72457bd3d5c2e2f8059f85159ee
parent2e8e23fac37776ebcfac45563ad438a8227d9e05 (diff)
(hopefully) less ambiguous wording of processed stem exports. Update the info text when checkbox state is changed
-rw-r--r--gtk2_ardour/export_channel_selector.cc13
-rw-r--r--gtk2_ardour/export_channel_selector.h6
2 files changed, 13 insertions, 6 deletions
diff --git a/gtk2_ardour/export_channel_selector.cc b/gtk2_ardour/export_channel_selector.cc
index 77cabad5a1..64cfe67628 100644
--- a/gtk2_ardour/export_channel_selector.cc
+++ b/gtk2_ardour/export_channel_selector.cc
@@ -539,8 +539,7 @@ RegionExportChannelSelector::handle_selection ()
TrackExportChannelSelector::TrackExportChannelSelector (ARDOUR::Session * session, ProfileManagerPtr manager)
: ExportChannelSelector(session, manager)
- , region_contents_button(source_group, _("Export region contents"))
- , track_output_button(source_group, _("Export track output"))
+ , track_output_button(_("Apply track/bus processing"))
, select_tracks_button (_("Select all tracks"))
, select_busses_button (_("Select all busses"))
, select_none_button (_("Deselect all"))
@@ -548,7 +547,6 @@ TrackExportChannelSelector::TrackExportChannelSelector (ARDOUR::Session * sessio
pack_start(main_layout);
// Options
- options_box.pack_start(region_contents_button);
options_box.pack_start(track_output_button);
options_box.pack_start (select_tracks_button);
options_box.pack_start (select_busses_button);
@@ -588,6 +586,8 @@ TrackExportChannelSelector::TrackExportChannelSelector (ARDOUR::Session * sessio
select_busses_button.signal_clicked().connect (sigc::mem_fun (*this, &TrackExportChannelSelector::select_busses));
select_none_button.signal_clicked().connect (sigc::mem_fun (*this, &TrackExportChannelSelector::select_none));
+ track_output_button.signal_clicked().connect (sigc::mem_fun (*this, &TrackExportChannelSelector::track_outputs_selected));
+
fill_list();
show_all_children ();
@@ -639,6 +639,12 @@ TrackExportChannelSelector::select_none ()
}
void
+TrackExportChannelSelector::track_outputs_selected ()
+{
+ update_config();
+}
+
+void
TrackExportChannelSelector::fill_list()
{
track_list->clear();
@@ -716,6 +722,7 @@ TrackExportChannelSelector::update_config()
}
state->config->set_name (route->name());
+
}
CriticalSelectionChanged ();
diff --git a/gtk2_ardour/export_channel_selector.h b/gtk2_ardour/export_channel_selector.h
index aa9999a9b6..6dd770cbb3 100644
--- a/gtk2_ardour/export_channel_selector.h
+++ b/gtk2_ardour/export_channel_selector.h
@@ -263,15 +263,15 @@ class TrackExportChannelSelector : public ExportChannelSelector
Gtk::ScrolledWindow track_scroller;
Gtk::HBox options_box;
- Gtk::RadioButton::Group source_group;
- Gtk::RadioButton region_contents_button;
- Gtk::RadioButton track_output_button;
+ Gtk::CheckButton track_output_button;
Gtk::Button select_tracks_button;
Gtk::Button select_busses_button;
Gtk::Button select_none_button;
void select_tracks ();
void select_busses ();
void select_none ();
+
+ void track_outputs_selected ();
};
#endif /* __export_channel_selector_h__ */