catch up on change in definition of various AxisView {set,is}_selected() implementations
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 5 Jun 2016 20:27:25 +0000 (16:27 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 5 Jun 2016 20:33:02 +0000 (16:33 -0400)
gtk2_ardour/route_ui.cc

index 067adc25f817caba7a1a4d34335c7c46b2864fc1..e10926d00f27c0ca1e51e41a48a41771555968c5 100644 (file)
@@ -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 ());
@@ -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)
 {