summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchView.cpp2
-rw-r--r--src/gui/ingen_gui_lv2.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp
index bc31ee3a..1e9e2d6a 100644
--- a/src/gui/PatchView.cpp
+++ b/src/gui/PatchView.cpp
@@ -184,8 +184,6 @@ void
PatchView::refresh_clicked()
{
_app->interface()->get(_patch->path());
- Raul::warn("Refreshing plugins\n");
- _app->interface()->get("ingen:plugins");
}
void
diff --git a/src/gui/ingen_gui_lv2.cpp b/src/gui/ingen_gui_lv2.cpp
index a9eff24d..d1eeb6cd 100644
--- a/src/gui/ingen_gui_lv2.cpp
+++ b/src/gui/ingen_gui_lv2.cpp
@@ -128,6 +128,9 @@ instantiate(const LV2UI_Descriptor* descriptor,
ui->world->forge(),
*ui->client.get()));
+ // Request plugins
+ ui->world->interface()->get("ingen:plugins");
+
// Create empty root patch model
Ingen::Resource::Properties props;
props.insert(std::make_pair(ui->app->uris().rdf_type,
@@ -141,6 +144,9 @@ instantiate(const LV2UI_Descriptor* descriptor,
ui->view->unparent();
*widget = ui->view->gobj();
+ // Request the actual root patch
+ ui->world->interface()->get("path:/");
+
return ui;
}