From 712d7fd5e4e58af842f33408904b3936647ef0c3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 3 Nov 2011 17:49:12 +0000 Subject: [PATCH] Update mixer strip colours when route active state changes (#4439). git-svn-id: svn://localhost/ardour2/branches/3.0@10429 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/mixer_strip.cc | 6 ++++++ gtk2_ardour/mixer_strip.h | 1 + 2 files changed, 7 insertions(+) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 9a7a447e46..f767396308 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -2071,3 +2071,9 @@ MixerStrip::add_output_port (DataType t) { _route->output()->add_port ("", this, t); } + +void +MixerStrip::route_active_changed () +{ + reset_strip_style (); +} diff --git a/gtk2_ardour/mixer_strip.h b/gtk2_ardour/mixer_strip.h index f0b7f27086..14d89fa1b0 100644 --- a/gtk2_ardour/mixer_strip.h +++ b/gtk2_ardour/mixer_strip.h @@ -121,6 +121,7 @@ class MixerStrip : public RouteUI, public Gtk::EventBox std::string state_id() const; void parameter_changed (std::string); + void route_active_changed (); protected: friend class Mixer_UI;