summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/LoadPatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-12 01:50:59 +0000
committerDavid Robillard <d@drobilla.net>2007-04-12 01:50:59 +0000
commit533402f16f6a7e6a9aa6df4186055690bce8e3ac (patch)
tree8b5f9cc0fb349929476344f3502dadb262fbe56f /src/progs/ingenuity/LoadPatchWindow.cpp
parent099e01628ef57f07efa69954893b0873bbb7f367 (diff)
downloadingen-533402f16f6a7e6a9aa6df4186055690bce8e3ac.tar.gz
ingen-533402f16f6a7e6a9aa6df4186055690bce8e3ac.tar.bz2
ingen-533402f16f6a7e6a9aa6df4186055690bce8e3ac.zip
Updated Raptor dependency to 1.4.14 (for Turtle serialization).
Made patches serialize to Turtle instead of RDF/XML because a) it's pretty and b) I said so. Loading of patches directly from the 'net in Ingenuity (File->Import Location). git-svn-id: http://svn.drobilla.net/lad/ingen@444 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/LoadPatchWindow.cpp')
-rw-r--r--src/progs/ingenuity/LoadPatchWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/ingenuity/LoadPatchWindow.cpp b/src/progs/ingenuity/LoadPatchWindow.cpp
index 783c6397..aba427e9 100644
--- a/src/progs/ingenuity/LoadPatchWindow.cpp
+++ b/src/progs/ingenuity/LoadPatchWindow.cpp
@@ -52,8 +52,8 @@ LoadPatchWindow::LoadPatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gno
Gtk::FileFilter filt;
filt.add_pattern("*.om");
filt.set_name("Om patch files (XML, DEPRECATED) (*.om)");
- filt.add_pattern("*.ingen");
- filt.set_name("Ingen patch files (RDF, *.ingen)");
+ filt.add_pattern("*.ingen.ttl");
+ filt.set_name("Ingen patch files (RDF, *.ingen.ttl)");
set_filter(filt);
// Add global examples directory to "shortcut folders" (bookmarks)
@@ -129,7 +129,7 @@ LoadPatchWindow::ok_clicked()
if (_patch->path() != "/")
parent = _patch->path().parent();
- App::instance().loader()->load_patch(true, get_filename(), "/",
+ App::instance().loader()->load_patch(true, get_uri(), "/",
_initial_data, parent, name, poly);
hide();