From 575757e4ed87d7282bc77ba86c6221675d0ea4fc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 31 Jul 2012 16:46:54 +0000 Subject: Request plugins and root patch on LV2 UI startup. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4586 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchView.cpp | 2 -- src/gui/ingen_gui_lv2.cpp | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gui') 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; } -- cgit v1.2.1