diff options
author | David Robillard <d@drobilla.net> | 2014-01-18 06:25:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-18 06:25:36 +0000 |
commit | ec8939dd7ef5267b43bd8ae3590e783495f0cfc9 (patch) | |
tree | ce151c34851e8a275f35aedb67ea6b4a25676baf /src/gui/GraphBox.cpp | |
parent | 59492c673f5de893e8b91ca50a945a697ddfa404 (diff) | |
download | ingen-ec8939dd7ef5267b43bd8ae3590e783495f0cfc9.tar.gz ingen-ec8939dd7ef5267b43bd8ae3590e783495f0cfc9.tar.bz2 ingen-ec8939dd7ef5267b43bd8ae3590e783495f0cfc9.zip |
Consolidate URIs.
Add missing definition to ontology.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5317 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/GraphBox.cpp')
-rw-r--r-- | src/gui/GraphBox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp index 1e1669cb..081cf413 100644 --- a/src/gui/GraphBox.cpp +++ b/src/gui/GraphBox.cpp @@ -424,7 +424,7 @@ GraphBox::event_import() void GraphBox::event_save() { - const Atom& document = _graph->get_property(_app->uris().ingen_document); + const Atom& document = _graph->get_property(_app->uris().ingen_file); if (!document.is_valid() || document.type() != _app->uris().forge.URI) { event_save_as(); } else { @@ -470,7 +470,7 @@ GraphBox::event_save_as() dialog.set_filter(filt); // Set current folder to most sensible default - const Atom& document = _graph->get_property(uris.ingen_document); + const Atom& document = _graph->get_property(uris.ingen_file); const Atom& dir = _app->world()->conf().option("graph-directory"); if (document.type() == uris.forge.URI) dialog.set_uri(document.ptr<char>()); @@ -540,7 +540,7 @@ GraphBox::event_save_as() const Glib::ustring uri = Glib::filename_to_uri(filename); _app->loader()->save_graph(_graph, uri); const_cast<GraphModel*>(_graph.get())->set_property( - uris.ingen_document, + uris.ingen_file, _app->forge().alloc_uri(uri.c_str()), Resource::Graph::EXTERNAL); _status_bar->push( |