From 6b0d22268b85f7033eb7ddcfe9e50e21b86eec34 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Oct 2008 23:14:48 +0000 Subject: Normalize XML property name style, preserving old session loading (on load _ will be converted to -). Still to go: Non-consistent PBD tag names, colours. git-svn-id: svn://localhost/ardour2/branches/3.0@3872 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/mixer_strip.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gtk2_ardour/mixer_strip.cc') diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index f98469eb7b..373babf417 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -424,11 +424,11 @@ MixerStrip::set_stuff_from_route () /* if width is not set, it will be set by the MixerUI or editor */ - if ((prop = xml_node->property ("strip_width")) != 0) { + if ((prop = xml_node->property ("strip-width")) != 0) { set_width (Width (string_2_enum (prop->value(), _width)), this); } - if ((prop = xml_node->property ("shown_mixer")) != 0) { + if ((prop = xml_node->property ("shown-mixer")) != 0) { if (prop->value() == "no") { _marked_for_display = false; } else { @@ -459,7 +459,7 @@ MixerStrip::set_width (Width w, void* owner) _width = w; if (_width_owner == this) { - xml_node->add_property ("strip_width", enum_2_string (_width)); + xml_node->add_property ("strip-width", enum_2_string (_width)); } switch (w) { @@ -526,9 +526,9 @@ MixerStrip::set_packed (bool yn) ensure_xml_node (); if (_packed) { - xml_node->add_property ("shown_mixer", "yes"); + xml_node->add_property ("shown-mixer", "yes"); } else { - xml_node->add_property ("shown_mixer", "no"); + xml_node->add_property ("shown-mixer", "no"); } } -- cgit v1.2.3