diff options
author | David Robillard <d@drobilla.net> | 2012-08-12 23:42:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-12 23:42:17 +0000 |
commit | efe8e2311ee2fed881f95cc1e72825906d21c7c1 (patch) | |
tree | 371c03610f691f0b97137b9e5b2f756b21fc5583 /src/gui/ObjectMenu.cpp | |
parent | e63caf72f320ab683de6378ff6f2944890054cbf (diff) | |
download | ingen-efe8e2311ee2fed881f95cc1e72825906d21c7c1.tar.gz ingen-efe8e2311ee2fed881f95cc1e72825906d21c7c1.tar.bz2 ingen-efe8e2311ee2fed881f95cc1e72825906d21c7c1.zip |
Use ingen:root as the path for the root patch, opening up path space for engine/driver/etc.
Strict conversion between Path and URI (Path no longer is-a URI).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4672 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/ObjectMenu.cpp')
-rw-r--r-- | src/gui/ObjectMenu.cpp | 8 |
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 |