summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 48ca4bc)
raw | patch | inline | side by side (parent: 48ca4bc)
author | cilix42 <cilix42@users.sourceforge.net> | |
Sun, 9 Aug 2009 16:43:14 +0000 (16:43 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Sun, 9 Aug 2009 16:43:14 +0000 (16:43 +0000) |
src/dialogs/export.cpp | patch | blob | history | |
src/file.cpp | patch | blob | history |
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp
index 835003e5e621737df23b2c948820b879216611b9..ee7852924cd3de58ed6bd430bb59d5033f6fa7c5 100644 (file)
--- a/src/dialogs/export.cpp
+++ b/src/dialogs/export.cpp
gchar *name;
SPDocument * doc = SP_ACTIVE_DOCUMENT;
const gchar *uri = SP_DOCUMENT_URI (doc);
- const gchar *text_extension = Inkscape::Preferences::get()->getString("/dialogs/save_as/default").c_str();
+ const gchar *text_extension = get_file_save_extension (Inkscape::Extension::FILE_SAVE_METHOD_SAVE_AS).c_str();
Inkscape::Extension::Output * oextension = NULL;
if (text_extension != NULL) {
diff --git a/src/file.cpp b/src/file.cpp
index 03fb7bd5937f1bcd1ef7202a7e4165b2dce460ed..8f40d7e4b2b616e842927bceddfb9f6bb4b4ab86 100644 (file)
--- a/src/file.cpp
+++ b/src/file.cpp
Glib::ustring export_path;
Glib::ustring export_loc;
- Inkscape::XML::Node *repr = sp_document_repr_root(doc);
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
Inkscape::Extension::Output *extension;