Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2005-02-04 15:17:10 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-02-04 15:17:10 (GMT)
commita3b26f9b8bcc7e06c9390d9241ca780ce809d496 (patch)
tree459f43919a1ece63960d9a5b4ecd0b030994883a /shell/ev-window.c
parentd4311e9d07fca361e09bedffd0fdc3209aa30fd6 (diff)
Open gzipped ps documents
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
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 368919a..e5c6bac 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -498,6 +498,7 @@ ev_window_open (EvWindow *ev_window, const char *uri)
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))