From 3cbd73de498b2136c9821030c41d6861d71c29f1 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 4 Aug 2015 14:49:27 -0500 Subject: (hopefully) less ambiguous wording of processed stem exports. Update the info text when checkbox state is changed --- gtk2_ardour/export_channel_selector.cc | 13 ++++++++++--- gtk2_ardour/export_channel_selector.h | 6 +++--- 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 (); @@ -638,6 +638,12 @@ TrackExportChannelSelector::select_none () update_config(); } +void +TrackExportChannelSelector::track_outputs_selected () +{ + update_config(); +} + void TrackExportChannelSelector::fill_list() { @@ -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__ */ -- cgit v1.2.3