change format of state_id() return value for VCAMasteStrip to follow other objects' conventions

This commit is contained in:
Paul Davis 2016-06-08 11:02:41 -04:00
parent 26d94f6014
commit 4a863cb1d6
2 changed files with 8 additions and 1 deletions

View File

@ -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());
}

View File

@ -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;