diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/LoadPluginWindow.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp index de48ec29..7cf0cce7 100644 --- a/src/gui/LoadPluginWindow.cpp +++ b/src/gui/LoadPluginWindow.cpp @@ -327,7 +327,7 @@ LoadPluginWindow::load_plugin(const Gtk::TreeModel::iterator& iter) const URIs& uris = _app->uris(); Gtk::TreeModel::Row row = *iter; SharedPtr<const PluginModel> plugin = row.get_value(_plugins_columns._col_plugin); - bool polyphonic = _polyphonic_checkbutton->get_active(); + //bool polyphonic = _polyphonic_checkbutton->get_active(); string name = _node_name_entry->get_text(); if (name.empty()) @@ -342,9 +342,13 @@ LoadPluginWindow::load_plugin(const Gtk::TreeModel::iterator& iter) } else { Path path = _patch->path().base() + Path::nameify(name); Resource::Properties props = _initial_data; - props.insert(make_pair(uris.rdf_type, uris.ingen_Node)); - props.insert(make_pair(uris.rdf_instanceOf, _app->forge().alloc_uri(plugin->uri().str()))); - props.insert(make_pair(uris.ingen_polyphonic, _app->forge().make(polyphonic))); + props.insert(make_pair(uris.rdf_type, + uris.ingen_Node)); + props.insert(make_pair(uris.rdf_instanceOf, + _app->forge().alloc_uri(plugin->uri().str()))); + Raul::warn << "FIXME: polyphonic" << std::endl; + //props.insert(make_pair(uris.ingen_polyphonic, + // _app->forge().make(polyphonic))); _app->engine()->put(path, props); if (_selection->get_selected_rows().size() == 1) { |