Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ps
diff options
context:
space:
mode:
Diffstat (limited to 'ps')
-rw-r--r--ps/ps-document.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/ps/ps-document.c b/ps/ps-document.c
index 5defb33..b57c96a 100644
--- a/ps/ps-document.c
+++ b/ps/ps-document.c
@@ -233,6 +233,13 @@ interpreter_failed (PSDocument *gs, char *msg)
stop_interpreter (gs);
}
+static void
+interpreter_message (PSDocument *gs, char *msg)
+{
+ /* FIXME maybe we should display a dialog */
+ g_print (msg);
+}
+
static gboolean
ps_document_widget_event (GtkWidget *widget, GdkEvent *event, gpointer data)
{
@@ -558,7 +565,7 @@ output(gpointer data, gint source, GdkInputCondition condition)
if(bytes > 0) {
buf[bytes] = '\0';
msg = g_strdup(buf);
- interpreter_failed (gs, msg);
+ interpreter_message (gs, msg);
}
}