summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-05 23:14:48 +0000
committerDavid Robillard <d@drobilla.net>2008-10-05 23:14:48 +0000
commit6b0d22268b85f7033eb7ddcfe9e50e21b86eec34 (patch)
treef339432b60ee666d47a3bddd59c63b8c3b27a69b /gtk2_ardour/audio_time_axis.cc
parent14a40f32f696c0d2b4a51fe762c5038a52079706 (diff)
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
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index 20a5be2dcf..0e1bf20204 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -148,7 +148,7 @@ guint32
AudioTimeAxisView::show_at (double y, int& nth, Gtk::VBox *parent)
{
ensure_xml_node ();
- xml_node->add_property ("shown_editor", "yes");
+ xml_node->add_property ("shown-editor", "yes");
return TimeAxisView::show_at (y, nth, parent);
}
@@ -157,7 +157,7 @@ void
AudioTimeAxisView::hide ()
{
ensure_xml_node ();
- xml_node->add_property ("shown_editor", "no");
+ xml_node->add_property ("shown-editor", "no");
TimeAxisView::hide ();
}