diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/ingen_gui_lv2.cpp | 2 | ||||
-rw-r--r-- | src/serialisation/Serialiser.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/ingen_gui_lv2.cpp b/src/gui/ingen_gui_lv2.cpp index 2a583d39..ae70e441 100644 --- a/src/gui/ingen_gui_lv2.cpp +++ b/src/gui/ingen_gui_lv2.cpp @@ -28,7 +28,7 @@ #include "App.hpp" #include "PatchBox.hpp" -#define INGEN_LV2_UI_URI "http://drobilla.net/ns/ingen#ui" +#define INGEN_LV2_UI_URI "http://drobilla.net/ns/ingen#PatchUIGtk2" /** A sink that writes atoms to a port via the UI extension. */ struct IngenLV2AtomSink : public Ingen::Shared::AtomSink { diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index c26be7be..d0d0e0d8 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -348,7 +348,7 @@ Serialiser::Impl::serialise_patch(SharedPtr<const Patch> patch, _model->add_statement(patch_id, Sord::URI(world, LV2_UI__ui), - Sord::URI(world, "http://drobilla.net/ns/ingen#ui")); + Sord::URI(world, "http://drobilla.net/ns/ingen#PatchUIGtk2")); const URIs& uris = *_world.uris().get(); @@ -556,6 +556,8 @@ Serialiser::Impl::serialise_properties(const GraphObject* o, (SerdStatementSink)sord_inserter_write_statement, NULL, inserter); + sratom_set_pretty_numbers(sratom, true); + typedef GraphObject::Properties::const_iterator iterator; for (iterator v = props.begin(); v != props.end(); ++v) { const Sord::URI key(_model->world(), v->first.str()); |