From 99e701a8247c3e26251b045a93d826decd55e831 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 Apr 2012 02:58:12 +0000 Subject: Update URIs. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4184 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/App.cpp | 2 +- src/gui/ControlPanel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/App.cpp b/src/gui/App.cpp index 1a9fc45d..38685d5b 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -396,7 +396,7 @@ bool App::can_control(const Client::PortModel* port) const { return port->is_a(uris().lv2_ControlPort) - || port->is_a(uris().cv_CVPort) + || port->is_a(uris().lv2_CVPort) || (port->is_a(uris().atom_AtomPort) && (port->supports(uris().atom_Float) || port->supports(uris().atom_String))); diff --git a/src/gui/ControlPanel.cpp b/src/gui/ControlPanel.cpp index 9d437ef1..5cbfd38a 100644 --- a/src/gui/ControlPanel.cpp +++ b/src/gui/ControlPanel.cpp @@ -92,7 +92,7 @@ ControlPanel::add_port(SharedPtr pm) WidgetFactory::get_widget_derived("toggle_control", tc); control = tc; } else if (pm->is_a(_app->uris().lv2_ControlPort) - || pm->is_a(_app->uris().cv_CVPort) + || pm->is_a(_app->uris().lv2_CVPort) || pm->supports(_app->uris().atom_Float)) { SliderControl* sc; WidgetFactory::get_widget_derived("control_strip", sc); -- cgit v1.2.1