From 88712fbc8fdf5f104409a3c68cf51e5a671750d0 Mon Sep 17 00:00:00 2001 From: Wouter Bolsterlee Date: Sun, 09 Mar 2008 12:40:59 +0000 Subject: Bug 495107 – Handle print dialog responses correctly 2008-03-09 Wouter Bolsterlee * shell/ev-window.c (ev_window_print_dialog_response_cb): Bug 495107 – Handle print dialog responses correctly Correctly handle print dialog response. Properly fixes the above mentioned bug. svn path=/trunk/; revision=2958 --- (limited to 'shell') diff --git a/shell/ev-window.c b/shell/ev-window.c index dc96285..917ebcf 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2220,7 +2220,7 @@ ev_window_print_dialog_response_cb (GtkDialog *dialog, GtkPrintPages print_pages; const gchar *file_format; - if (response != GTK_RESPONSE_ACCEPT && + if (response != GTK_RESPONSE_OK && response != GTK_RESPONSE_APPLY) { gtk_widget_destroy (GTK_WIDGET (dialog)); window->priv->print_dialog = NULL; -- cgit v0.9.1