summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodePropertiesWindow.cpp6
-rw-r--r--src/gui/PatchPropertiesWindow.cpp6
-rw-r--r--src/gui/UploadPatchWindow.cpp4
3 files changed, 10 insertions, 6 deletions
diff --git a/src/gui/NodePropertiesWindow.cpp b/src/gui/NodePropertiesWindow.cpp
index ae2c23b5..7885b906 100644
--- a/src/gui/NodePropertiesWindow.cpp
+++ b/src/gui/NodePropertiesWindow.cpp
@@ -56,7 +56,11 @@ NodePropertiesWindow::set_node(SharedPtr<NodeModel> node_model)
if (pm) {
_plugin_type_label->set_text(pm->type_uri());
_plugin_uri_label->set_text(pm->uri());
- _plugin_name_label->set_text(pm->name());
+ const Atom& name = pm->get_property("doap:name");
+ if (name.is_valid())
+ _plugin_name_label->set_text(pm->get_property("doap:name").get_string());
+ else
+ _plugin_name_label->set_text("(Unknown)");
}
}
diff --git a/src/gui/PatchPropertiesWindow.cpp b/src/gui/PatchPropertiesWindow.cpp
index caf81452..055c8386 100644
--- a/src/gui/PatchPropertiesWindow.cpp
+++ b/src/gui/PatchPropertiesWindow.cpp
@@ -89,11 +89,11 @@ void
PatchPropertiesWindow::ok_clicked()
{
App::instance().engine()->set_property(_patch_model->path(), "doap:name",
- Atom(_name_entry->get_text()));
+ Atom(Atom::STRING, _name_entry->get_text()));
App::instance().engine()->set_property(_patch_model->path(), "dc:creator",
- Atom(_author_entry->get_text()));
+ Atom(Atom::STRING, _author_entry->get_text()));
App::instance().engine()->set_property(_patch_model->path(), "dc:description",
- Atom(_textview->get_buffer()->get_text()));
+ Atom(Atom::STRING, _textview->get_buffer()->get_text()));
hide();
}
diff --git a/src/gui/UploadPatchWindow.cpp b/src/gui/UploadPatchWindow.cpp
index bb45cc71..874a4b43 100644
--- a/src/gui/UploadPatchWindow.cpp
+++ b/src/gui/UploadPatchWindow.cpp
@@ -239,8 +239,8 @@ UploadPatchWindow::upload_clicked()
Glib::ustring short_name = _short_name_entry->get_text();
GraphObject::Variables extra_rdf;
- extra_rdf["lv2:symbol"] = Atom(symbol);
- extra_rdf["doap:name"] = Atom(short_name);
+ extra_rdf["lv2:symbol"] = Atom(Atom::STRING, symbol);
+ extra_rdf["doap:name"] = Atom(Atom::STRING, short_name);
_response = 0;
_progress_pct = 0;