summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/vca_master_strip.cc7
-rw-r--r--gtk2_ardour/vca_master_strip.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/gtk2_ardour/vca_master_strip.cc b/gtk2_ardour/vca_master_strip.cc
index 5d2653e05e..6ad656c576 100644
--- a/gtk2_ardour/vca_master_strip.cc
+++ b/gtk2_ardour/vca_master_strip.cc
@@ -555,3 +555,10 @@ VCAMasterStrip::color () const
{
return gdk_color_from_rgb (_vca->presentation_info().color ());
}
+
+string
+VCAMasterStrip::state_id () const
+{
+ return string_compose (X_("vms-%1"), _vca->number());
+}
+
diff --git a/gtk2_ardour/vca_master_strip.h b/gtk2_ardour/vca_master_strip.h
index 785f76deb9..05e9f6366d 100644
--- a/gtk2_ardour/vca_master_strip.h
+++ b/gtk2_ardour/vca_master_strip.h
@@ -43,7 +43,7 @@ class VCAMasterStrip : public AxisView, public Gtk::EventBox
std::string name() const;
Gdk::Color color () const;
- std::string state_id() const { return "VCAMasterStrip"; }
+ std::string state_id() const;
boost::shared_ptr<ARDOUR::VCA> vca() const { return _vca; }
static PBD::Signal1<void,VCAMasterStrip*> CatchDeletion;