summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-01 22:18:54 +0000
committerDavid Robillard <d@drobilla.net>2011-11-01 22:18:54 +0000
commit8ee49301d6ec78c9b5c811d225cacd4d7ac6980b (patch)
tree86ffe3b54d9bfdc85f794a9862015946a4ed320a
parent6fe17c9cd2561fb32e382a97701a5343451d8b7f (diff)
downloadingen-8ee49301d6ec78c9b5c811d225cacd4d7ac6980b.tar.gz
ingen-8ee49301d6ec78c9b5c811d225cacd4d7ac6980b.tar.bz2
ingen-8ee49301d6ec78c9b5c811d225cacd4d7ac6980b.zip
Use rdfs:label for preset labels (fix ticket #668).
Use correct namespace for dc. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3593 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/NodeMenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp
index 8efe89ac..88674f4f 100644
--- a/src/gui/NodeMenu.cpp
+++ b/src/gui/NodeMenu.cpp
@@ -73,10 +73,10 @@ NodeMenu::init(App& app, SharedPtr<const NodeModel> node)
if (plugin && plugin->type() == PluginModel::LV2) {
LilvNode* preset_pred = lilv_new_uri(
plugin->lilv_world(),
- "http://lv2plug.in/ns/dev/presets#hasPreset");
+ "http://lv2plug.in/ns/ext/presets#hasPreset");
LilvNode* title_pred = lilv_new_uri(
plugin->lilv_world(),
- "http://dublincore.org/documents/dcmi-namespace/title");
+ "http://www.w3.org/2000/01/rdf-schema#label");
LilvNodes* presets = lilv_plugin_get_value(
plugin->lilv_plugin(), preset_pred);
if (presets) {