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:
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index fb3570a..b23a1a6 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -36,6 +36,7 @@
#include "eggfindbar.h"
#include "pdf-document.h"
+#include "gtkgs.h"
#include <glib/gi18n.h>
#include <gtk/gtk.h>
@@ -214,6 +215,8 @@ ev_window_open (EvWindow *ev_window, const char *uri)
if (!strcmp (mime_type, "application/pdf"))
document = g_object_new (PDF_TYPE_DOCUMENT, NULL);
+ else if (!strcmp (mime_type, "application/postscript"))
+ document = g_object_new (GTK_GS_TYPE, NULL);
if (document) {
GError *error = NULL;