From: buliabyak Date: Mon, 12 Mar 2007 02:37:22 +0000 (+0000) Subject: sodipodi:docbase finally goes packing, along with a lauris comment X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ac63672b8bd0ad9539384d4eac6e27875d4d2693;p=inkscape.git sodipodi:docbase finally goes packing, along with a lauris comment --- diff --git a/src/document.cpp b/src/document.cpp index 715bc2ec7..d77d61d09 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -261,10 +261,7 @@ sp_document_create(Inkscape::XML::Document *rdoc, /* Quick hack 3 - Set uri attributes */ if (uri) { - /* fixme: Think, what this means for images (Lauris) */ rroot->setAttribute("sodipodi:docname", uri); - if (document->base) - rroot->setAttribute("sodipodi:docbase", document->base); } /* End of quick hack 3 */ @@ -548,8 +545,6 @@ void sp_document_set_uri(SPDocument *document, gchar const *uri) // changing uri in the document repr must not be not undoable bool saved = sp_document_get_undo_sensitive(document); sp_document_set_undo_sensitive(document, false); - if (document->base) - repr->setAttribute("sodipodi:docbase", document->base); repr->setAttribute("sodipodi:docname", document->name); sp_document_set_undo_sensitive(document, saved);