diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 16:27:25 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 16:33:02 -0400 |
commit | b69776ba15e1e6d6f36fc961556a281e3fc97347 (patch) | |
tree | f13f5a41acffc4615dbec9c976cc6b04039bf268 | |
parent | 58eec76ab34992789e0918b3c2d7bea4908c4ee0 (diff) |
catch up on change in definition of various AxisView {set,is}_selected() implementations
-rw-r--r-- | gtk2_ardour/route_ui.cc | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 067adc25f8..e10926d00f 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -284,7 +284,7 @@ RouteUI::set_route (boost::shared_ptr<Route> rp) } - _route->PropertyChanged.connect (route_connections, invalidator (*this), boost::bind (&RouteUI::property_changed, this, _1), gui_context()); + _route->PropertyChanged.connect (route_connections, invalidator (*this), boost::bind (&RouteUI::route_property_changed, this, _1), gui_context()); _route->io_changed.connect (route_connections, invalidator (*this), boost::bind (&RouteUI::setup_invert_buttons, this), gui_context ()); _route->gui_changed.connect (route_connections, invalidator (*this), boost::bind (&RouteUI::route_gui_changed, this, _1), gui_context ()); @@ -1695,14 +1695,6 @@ RouteUI::route_rename () } void -RouteUI::property_changed (const PropertyChange& what_changed) -{ - if (what_changed.contains (ARDOUR::Properties::name)) { - name_label.set_text (_route->name()); - } -} - -void RouteUI::toggle_comment_editor () { // if (ignore_toggle) { @@ -1866,12 +1858,6 @@ RouteUI::has_audio_outputs () const return (_route->n_outputs().n_audio() > 0); } -string -RouteUI::name() const -{ - return _route->name(); -} - void RouteUI::map_frozen () { @@ -2336,6 +2322,12 @@ RouteUI::manage_pins () } } +void +RouteUI::set_selected (bool yn) +{ + _route->presentation_info().set_selected (yn); +} + bool RouteUI::mark_hidden (bool yn) { |