summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-18 15:37:36 +0000
committerDavid Robillard <d@drobilla.net>2011-02-18 15:37:36 +0000
commit05c2dfb6d677e5dc49c4de1ec568da4f69e3c877 (patch)
tree8d2ff26fa8eeec66777ae84c41a51c238137e402 /src/gui
parentd3264c5685c90856379df368f131188c2af6ab09 (diff)
downloadingen-05c2dfb6d677e5dc49c4de1ec568da4f69e3c877.tar.gz
ingen-05c2dfb6d677e5dc49c4de1ec568da4f69e3c877.tar.bz2
ingen-05c2dfb6d677e5dc49c4de1ec568da4f69e3c877.zip
Trim more cruft.
Correctly receive data about plugins with hashes in their URIs. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2988 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/LoadPluginWindow.cpp5
-rw-r--r--src/gui/PatchCanvas.cpp3
2 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp
index 41281140..2c1d9ae7 100644
--- a/src/gui/LoadPluginWindow.cpp
+++ b/src/gui/LoadPluginWindow.cpp
@@ -228,16 +228,11 @@ LoadPluginWindow::set_row(Gtk::TreeModel::Row& row, SharedPtr<PluginModel> plugi
const Atom& name = plugin->get_property(uris.doap_name);
if (name.is_valid() && name.type() == Atom::STRING)
row[_plugins_columns._col_name] = name.get_string();
- else if (plugin->type() == Plugin::LADSPA)
- App::instance().engine()->request_property(plugin->uri(), uris.doap_name);
switch (plugin->type()) {
case Plugin::LV2:
row[_plugins_columns._col_type] = "LV2";
break;
- case Plugin::LADSPA:
- row[_plugins_columns._col_type] = "LADSPA";
- break;
case Plugin::Internal:
row[_plugins_columns._col_type] = "Internal";
break;
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 0e1c6fbc..3ee6e3cb 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -696,7 +696,6 @@ PatchCanvas::paste()
if (!_patch->path().is_root())
clipboard.put(_patch->path(), props);
- boost::optional<Raul::Path> data_path;
boost::optional<Raul::Path> parent;
boost::optional<Raul::Symbol> symbol;
@@ -705,7 +704,7 @@ PatchCanvas::paste()
}
ClashAvoider avoider(*App::instance().store().get(), clipboard, &clipboard);
- parser->parse_string(App::instance().world(), &avoider, str, Path().str(), data_path,
+ parser->parse_string(App::instance().world(), &avoider, str, Path().str(),
parent, symbol);
for (Store::iterator i = clipboard.begin(); i != clipboard.end(); ++i) {