Code

Updating interface to add save type
authorTed Gould <ted@gould.cx>
Thu, 31 Dec 2009 06:23:23 +0000 (00:23 -0600)
committerTed Gould <ted@gould.cx>
Thu, 31 Dec 2009 06:23:23 +0000 (00:23 -0600)
src/extension/dbus/document-interface.cpp

index e2d7a41a2e3c01dd8e61bb485d966d49c543b249..b8b0c2ade314f609f3d5632e6e3184a38d6a40d2 100644 (file)
@@ -862,7 +862,7 @@ document_interface_save_as (DocumentInterface *object,
 
     try {
         Inkscape::Extension::save(NULL, doc, filename,
-                 false, false, true);
+                 false, false, true, Inkscape::Extension::FILE_SAVE_METHOD_SAVE_AS);
     } catch (...) {
         //SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved."));
         return false;