summaryrefslogtreecommitdiffstats
path: root/src/gui/ObjectMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ObjectMenu.cpp')
-rw-r--r--src/gui/ObjectMenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/ObjectMenu.cpp b/src/gui/ObjectMenu.cpp
index 4fa99677..0cfb2482 100644
--- a/src/gui/ObjectMenu.cpp
+++ b/src/gui/ObjectMenu.cpp
@@ -93,7 +93,7 @@ ObjectMenu::init(App& app, SharedPtr<const ObjectModel> object)
void
ObjectMenu::on_menu_learn()
{
- _app->interface()->set_property(_object->path(),
+ _app->interface()->set_property(_object->uri(),
_app->uris().ingen_controlBinding,
_app->uris().wildcard);
}
@@ -105,7 +105,7 @@ ObjectMenu::on_menu_unlearn()
remove.insert(std::make_pair(
_app->uris().ingen_controlBinding,
_app->uris().wildcard));
- _app->interface()->delta(_object->path(), remove, Resource::Properties());
+ _app->interface()->delta(_object->uri(), remove, Resource::Properties());
}
void
@@ -113,7 +113,7 @@ ObjectMenu::on_menu_polyphonic()
{
if (_enable_signal)
_app->interface()->set_property(
- _object->path(),
+ _object->uri(),
_app->uris().ingen_polyphonic,
_app->forge().make(bool(_polyphonic_menuitem->get_active())));
}
@@ -131,7 +131,7 @@ ObjectMenu::property_changed(const URI& predicate, const Atom& value)
void
ObjectMenu::on_menu_destroy()
{
- _app->interface()->del(_object->path());
+ _app->interface()->del(_object->uri());
}
void