(hopefully) less ambiguous wording of processed stem exports. Update the info text...
authorBen Loftis <ben@harrisonconsoles.com>
Tue, 4 Aug 2015 19:49:27 +0000 (14:49 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Tue, 4 Aug 2015 19:49:46 +0000 (14:49 -0500)
gtk2_ardour/export_channel_selector.cc
gtk2_ardour/export_channel_selector.h

index 77cabad5a17a55508010129279573cc04bcd2261..64cfe676281e0c6636d04e286ee5c398e102d54f 100644 (file)
@@ -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 ();
index aa9999a9b61099aadfd9141e9fcaff1bf372b281..6dd770cbb3a424772938905e1f4700b1e4ca24e9 100644 (file)
@@ -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__ */