From b69776ba15e1e6d6f36fc961556a281e3fc97347 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 5 Jun 2016 16:27:25 -0400 Subject: catch up on change in definition of various AxisView {set,is}_selected() implementations --- gtk2_ardour/route_ui.cc | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'gtk2_ardour/route_ui.cc') 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 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 ()); @@ -1694,14 +1694,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 () { @@ -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) { -- cgit v1.2.3