summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/UploadPatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 17:59:56 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 17:59:56 +0000
commit91ca84684151a67b8e3e1e859b3167e9f687d4d4 (patch)
tree1751b6e4949b47d1880b4c569b6192fef392bfaf /src/libs/gui/UploadPatchWindow.cpp
parent507d9ffa4771978b6964b4c4b261ee923ba7e324 (diff)
downloadingen-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/UploadPatchWindow.cpp')
-rw-r--r--src/libs/gui/UploadPatchWindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libs/gui/UploadPatchWindow.cpp b/src/libs/gui/UploadPatchWindow.cpp
index b5e414a1..57045a91 100644
--- a/src/libs/gui/UploadPatchWindow.cpp
+++ b/src/libs/gui/UploadPatchWindow.cpp
@@ -74,11 +74,11 @@ UploadPatchWindow::on_show()
{
Gtk::Dialog::on_show();
- Raul::Atom atom = _patch->get_metadata("lv2:symbol");
+ Raul::Atom atom = _patch->get_variable("lv2:symbol");
if (atom)
_symbol_entry->set_text(atom.get_string());
- atom = _patch->get_metadata("doap:name");
+ atom = _patch->get_variable("doap:name");
if (atom)
_short_name_entry->set_text(atom.get_string());
}
@@ -237,11 +237,11 @@ UploadPatchWindow::upload_clicked()
Glib::ustring symbol = _symbol_entry->get_text();
Glib::ustring short_name = _short_name_entry->get_text();
- _patch->set_metadata("lv2:symbol", Atom(symbol));
- App::instance().engine()->set_metadata(_patch->path(), "lv2:symbol", Atom(symbol));
+ _patch->set_variable("lv2:symbol", Atom(symbol));
+ App::instance().engine()->set_variable(_patch->path(), "lv2:symbol", Atom(symbol));
- _patch->set_metadata("doap:name", Atom(short_name));
- App::instance().engine()->set_metadata(_patch->path(), "doap:name", Atom(short_name));
+ _patch->set_variable("doap:name", Atom(short_name));
+ App::instance().engine()->set_variable(_patch->path(), "doap:name", Atom(short_name));
_response = 0;
_progress_pct = 0;