summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 081a843)
raw | patch | inline | side by side (parent: 081a843)
author | cilix42 <cilix42@users.sourceforge.net> | |
Sun, 9 Aug 2009 16:43:39 +0000 (16:43 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Sun, 9 Aug 2009 16:43:39 +0000 (16:43 +0000) |
diff --git a/src/file.cpp b/src/file.cpp
index 8f40d7e4b2b616e842927bceddfb9f6bb4b4ab86..420eaec6393c7038ba576ad9f7a99f4beb4bc4d2 100644 (file)
--- a/src/file.cpp
+++ b/src/file.cpp
## E X P O R T
######################*/
-//#define NEW_EXPORT_DIALOG
-
-
#ifdef NEW_EXPORT_DIALOG
if ( export_path_local.size() > 0)
export_path = export_path_local;
- //# Show the SaveAs dialog
+ //# Show the Export dialog
Inkscape::UI::Dialog::FileExportDialog *exportDialogInstance =
Inkscape::UI::Dialog::FileExportDialog::create(
export_path,
index 8e372c394c555781e21d7965ce0eb9b4ccf140f8..68c0926aa6c9b331ec5268cafcd458f487f14187 100644 (file)
@@ -166,6 +166,8 @@ void FileSaveDialog::appendExtension(Glib::ustring& path, Inkscape::Extension::O
//# F I L E E X P O R T
//########################################################################
+#ifdef NEW_EXPORT_DIALOG
+
/**
* Public factory method. Used in file.cpp
*/
return dialog;
}
+#endif // NEW_EXPORT_DIALOG
+
} //namespace Dialog
} //namespace UI
index f7be86ef3da5152d8e9e8ded0f7eb361fae0f53c..472c4ac0b04f7d49dc58c0c66498baf3ee2327b0 100644 (file)
}; //FileSaveDialog
+//#define NEW_EXPORT_DIALOG
+#ifdef NEW_EXPORT_DIALOG
/**
* This class provides an implementation-independent API for
}; //FileExportDialog
+#endif // NEW_EXPORT_DIALOG
+
} //namespace Dialog
} //namespace UI
} //namespace Inkscape
-
#endif /* __FILE_DIALOG_H__ */
/*
index 3e681bd3be00ea6285a4670bd35eaccb756519cd..e650cf842cc286695a0fc8c02504fd746772fd60 100644 (file)
}
+#ifdef NEW_EXPORT_DIALOG
+
//########################################################################
//# F I L E E X P O R T
//########################################################################
return myFilename;
}
+#endif // NEW_EXPORT_DIALOG
+
} //namespace Dialog
} //namespace UI
index ac868fecc84cb9ca843bd3ce78a10ac972f38ac8..65bb389716abe5f383746ab8cfa70c9f3cc51d1b 100644 (file)
+#ifdef NEW_EXPORT_DIALOG
+
//########################################################################
//# F I L E E X P O R T
//########################################################################
Glib::ustring myFilename;
};
+#endif // NEW_EXPORT_DIALOG
} // namespace Dialog
} // namespace UI