Oops. Fix XML stuff in GUI as well.

git-svn-id: svn://localhost/ardour2/branches/3.0@4579 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-15 03:45:00 +00:00
parent 789bd1d007
commit 64e69c36da
4 changed files with 4 additions and 4 deletions

View file

@ -141,7 +141,7 @@ ARDOUR_UI::connect_to_session (Session *s)
/* listen to clock mode changes. don't do this earlier because otherwise as the clocks
restore their modes or are explicitly set, we will cause the "new" mode to be saved
back to the session XML ("extra") state.
back to the session XML ("Extra") state.
*/
AudioClock::ModeChanged.connect (mem_fun (*this, &ARDOUR_UI::store_clock_modes));

View file

@ -237,7 +237,7 @@ UIConfiguration::set_state (const XMLNode& root)
if (node->name() == "Canvas" || node->name() == "UI") {
set_variables (*node);
} else if (node->name() == "extra") {
} else if (node->name() == "Extra") {
_extra_xml = new XMLNode (*node);
}

View file

@ -94,7 +94,7 @@ Controllable::by_name (const std::string& str)
XMLNode&
Controllable::get_state ()
{
XMLNode* node = new XMLNode (X_("controllable"));
XMLNode* node = new XMLNode (X_("Controllable"));
char buf[64];
node->add_property (X_("name"), _name); // not reloaded from XML state, just there to look at

View file

@ -47,7 +47,7 @@ void
Stateful::add_extra_xml (XMLNode& node)
{
if (_extra_xml == 0) {
_extra_xml = new XMLNode ("extra");
_extra_xml = new XMLNode ("Extra");
}
_extra_xml->remove_nodes (node.name());