summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-08 11:02:41 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-08 11:03:13 -0400
commit4a863cb1d6823cd98585d2dd740b78b3c0af8c96 (patch)
tree6639f8b74d0fa4a1068b2130b783e2e246ffb3d1
parent26d94f601498434af6e9d0e0fa3656b857875747 (diff)
change format of state_id() return value for VCAMasteStrip to follow other objects' conventions
-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;