+2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
+
+ * shell/ev-application.c: (ev_application_open):
+ * shell/ev-window.c: (ev_window_open):
+
+ Open gzipped ps documents
+
2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* TODO:
gtk_file_filter_set_name (both_filter,
_("PostScript and PDF Documents"));
gtk_file_filter_add_mime_type (both_filter, "application/postscript");
+ gtk_file_filter_add_mime_type (both_filter, "application/x-gzpostscript");
gtk_file_filter_add_mime_type (both_filter, "image/x-eps");
gtk_file_filter_add_mime_type (both_filter, "application/pdf");
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (chooser), both_filter);
ps_filter = gtk_file_filter_new ();
gtk_file_filter_set_name (ps_filter, _("PostScript Documents"));
gtk_file_filter_add_mime_type (ps_filter, "application/postscript");
+ gtk_file_filter_add_mime_type (both_filter, "application/x-gzpostscript");
gtk_file_filter_add_mime_type (ps_filter, "image/x-eps");
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (chooser), ps_filter);
else if (!strcmp (mime_type, "application/pdf"))
document = g_object_new (PDF_TYPE_DOCUMENT, NULL);
else if (!strcmp (mime_type, "application/postscript") ||
+ !strcmp (mime_type, "application/x-gzpostscript") ||
!strcmp (mime_type, "image/x-eps"))
document = g_object_new (PS_TYPE_DOCUMENT, NULL);
else if (mime_type_supported_by_gdk_pixbuf (mime_type))