Code

fix names and mime types; cairo ps out now the default
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 31 Aug 2008 21:55:16 +0000 (21:55 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 31 Aug 2008 21:55:16 +0000 (21:55 +0000)
src/extension/internal/cairo-ps-out.cpp
src/extension/internal/ps-out.cpp

index fa35079f91393c14c5d6e4fbe9af2d9d86523ddd..61273b784fc044c0e810149d08434b33ca1bd7ae 100644 (file)
@@ -217,7 +217,7 @@ CairoPsOutput::init (void)
 {
        Inkscape::Extension::build_from_mem(
                "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI "\">\n"
-                       "<name>" N_("Cairo PS Output") "</name>\n"
+                       "<name>" N_("PostScript") "</name>\n"
                        "<id>" SP_MODULE_KEY_PRINT_CAIRO_PS "</id>\n"
                        "<param name=\"PSlevel\" gui-text=\"" N_("Restrict to PS level") "\" type=\"enum\" >\n"
                                "<_item value='PS3'>" N_("PostScript level 3") "</_item>\n"
@@ -230,8 +230,8 @@ CairoPsOutput::init (void)
                        "<param name=\"resolution\" gui-text=\"" N_("Preferred resolution (DPI) of bitmaps") "\" type=\"int\" min=\"72\" max=\"2400\">90</param>\n"
                        "<output>\n"
                                "<extension>.ps</extension>\n"
-                "<mimetype>application/ps</mimetype>\n"
-                               "<filetypename>" N_("PostScript via Cairo (*.ps)") "</filetypename>\n"
+                                "<mimetype>image/x-postscript</mimetype>\n"
+                               "<filetypename>" N_("PostScript (*.ps)") "</filetypename>\n"
                                "<filetypetooltip>" N_("PostScript File") "</filetypetooltip>\n"
                        "</output>\n"
                "</inkscape-extension>", new CairoPsOutput());
index 1daa6514e39275155916a095f58bd8914b1c1869..ba933819895e862f85b5d396f9a3634e1f2b2be4 100644 (file)
@@ -85,8 +85,8 @@ PsOutput::init (void)
                        "<param name=\"fontEmbedded\" gui-text=\"" N_("Embed fonts (Type 1 only)") "\" type=\"boolean\">false</param>\n"
                        "<output>\n"
                                "<extension>.ps</extension>\n"
-                               "<mimetype>application/postscript</mimetype>\n"
-                               "<filetypename>" N_("PostScript (*.ps)") "</filetypename>\n"
+                               "<mimetype>image/x-postscript</mimetype>\n"
+                               "<filetypename>" N_("PostScript (old exporter via print) (*.ps)") "</filetypename>\n"
                                "<filetypetooltip>" N_("PostScript File") "</filetypetooltip>\n"
                        "</output>\n"
                "</inkscape-extension>", new PsOutput());