diff options
author | David Robillard <d@drobilla.net> | 2008-10-05 23:14:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-05 23:14:48 +0000 |
commit | 6b0d22268b85f7033eb7ddcfe9e50e21b86eec34 (patch) | |
tree | f339432b60ee666d47a3bddd59c63b8c3b27a69b /gtk2_ardour/ardour_ui.cc | |
parent | 14a40f32f696c0d2b4a51fe762c5038a52079706 (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/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 13b38b1ed4..bf1a5bb5b4 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -463,16 +463,16 @@ ARDOUR_UI::set_transport_controllable_state (const XMLNode& node) if ((prop = node.property ("stop")) != 0) { stop_controllable->set_id (prop->value()); } - if ((prop = node.property ("goto_start")) != 0) { + if ((prop = node.property ("goto-start")) != 0) { goto_start_controllable->set_id (prop->value()); } - if ((prop = node.property ("goto_end")) != 0) { + if ((prop = node.property ("goto-end")) != 0) { goto_end_controllable->set_id (prop->value()); } - if ((prop = node.property ("auto_loop")) != 0) { + if ((prop = node.property ("auto-loop")) != 0) { auto_loop_controllable->set_id (prop->value()); } - if ((prop = node.property ("play_selection")) != 0) { + if ((prop = node.property ("play-selection")) != 0) { play_selection_controllable->set_id (prop->value()); } if ((prop = node.property ("rec")) != 0) { |