diff options
author | David Robillard <d@drobilla.net> | 2016-08-01 15:44:14 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:25:42 -0400 |
commit | 17ad0ca1ad23b336b0fa5952f42dfad95397fc47 (patch) | |
tree | 1cac18de3f2b56ac7885fa7f9566ded8eab8872e /src/gui/GraphCanvas.cpp | |
parent | d6621e5d1e6f705a09106f62cc75cb33c8c18670 (diff) | |
download | ingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.tar.gz ingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.tar.bz2 ingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.zip |
Rename main graph and control/notify ports
Diffstat (limited to 'src/gui/GraphCanvas.cpp')
-rw-r--r-- | src/gui/GraphCanvas.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index df950eb7..ea989c36 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -565,8 +565,8 @@ destroy_node(GanvNode* node, void* data) } else { GraphPortModule* port_module = dynamic_cast<GraphPortModule*>(module); if (port_module && - strcmp(port_module->port()->path().symbol(), "control_in") && - strcmp(port_module->port()->path().symbol(), "control_out")) { + strcmp(port_module->port()->path().symbol(), "control") && + strcmp(port_module->port()->path().symbol(), "notify")) { app->interface()->del(port_module->port()->uri()); } } @@ -667,12 +667,12 @@ GraphCanvas::paste() // Make a client store to serve as clipboard ClientStore clipboard(_app.world()->uris(), _app.log()); clipboard.set_plugins(_app.store()->plugins()); - clipboard.put(Node::root_graph_uri(), + clipboard.put(Node::main_uri(), {{uris.rdf_type, Resource::Property(uris.ingen_Graph)}}); // Parse clipboard text into clipboard store boost::optional<Raul::URI> base_uri = parser->parse_string( - _app.world(), &clipboard, str, Node::root_graph_uri()); + _app.world(), &clipboard, str, Node::main_uri()); // Figure out the copy graph base path Raul::Path copy_root("/"); |