diff options
author | David Robillard <d@drobilla.net> | 2007-10-08 17:59:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-08 17:59:56 +0000 |
commit | 91ca84684151a67b8e3e1e859b3167e9f687d4d4 (patch) | |
tree | 1751b6e4949b47d1880b4c569b6192fef392bfaf /src/libs/gui/PatchPropertiesWindow.cpp | |
parent | 507d9ffa4771978b6964b4c4b261ee923ba7e324 (diff) | |
download | ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.tar.gz ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.tar.bz2 ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.zip |
s/MetadataMap/Variables/ etc.
Removed ancient/unused Controller.hpp.
git-svn-id: http://svn.drobilla.net/lad/ingen@852 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/PatchPropertiesWindow.cpp')
-rw-r--r-- | src/libs/gui/PatchPropertiesWindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libs/gui/PatchPropertiesWindow.cpp b/src/libs/gui/PatchPropertiesWindow.cpp index eb5120c4..2f0956e6 100644 --- a/src/libs/gui/PatchPropertiesWindow.cpp +++ b/src/libs/gui/PatchPropertiesWindow.cpp @@ -48,11 +48,11 @@ PatchPropertiesWindow::set_patch(SharedPtr<PatchModel> patch_model) property_title() = patch_model->path() + " Properties"; _patch_model = patch_model; - const Atom& author_atom = _patch_model->get_metadata("author"); + const Atom& author_atom = _patch_model->get_variable("author"); _author_entry->set_text( (author_atom.type() == Atom::STRING) ? author_atom.get_string() : "" ); - const Atom& desc_atom = _patch_model->get_metadata("description"); + const Atom& desc_atom = _patch_model->get_variable("description"); _textview->get_buffer()->set_text( (desc_atom.type() == Atom::STRING) ? desc_atom.get_string() : "" ); } @@ -61,11 +61,11 @@ PatchPropertiesWindow::set_patch(SharedPtr<PatchModel> patch_model) void PatchPropertiesWindow::cancel_clicked() { - const Atom& author_atom = _patch_model->get_metadata("author"); + const Atom& author_atom = _patch_model->get_variable("author"); _author_entry->set_text( (author_atom.type() == Atom::STRING) ? author_atom.get_string() : "" ); - const Atom& desc_atom = _patch_model->get_metadata("description"); + const Atom& desc_atom = _patch_model->get_variable("description"); _textview->get_buffer()->set_text( (desc_atom.type() == Atom::STRING) ? desc_atom.get_string() : "" ); @@ -78,8 +78,8 @@ PatchPropertiesWindow::ok_clicked() { cerr << "FIXME: properties\n"; - //m_patch_model->set_metadata("author", Atom(_author_entry->get_text().c_str())); - //m_patch_model->set_metadata("description", Atom(_textview->get_buffer()->get_text().c_str())); + //m_patch_model->set_variable("author", Atom(_author_entry->get_text().c_str())); + //m_patch_model->set_variable("description", Atom(_textview->get_buffer()->get_text().c_str())); hide(); } |