From 88712fbc8fdf5f104409a3c68cf51e5a671750d0 Mon Sep 17 00:00:00 2001 From: Wouter Bolsterlee Date: Sun, 9 Mar 2008 12:40:59 +0000 Subject: [PATCH] =?utf8?q?Bug=20495107=20=E2=80=93=20Handle=20print=20dial?= =?utf8?q?og=20responses=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- ChangeLog | 9 +++++++++ shell/ev-window.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3f9f7bf7..f96367aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +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. + 2008-03-08 Carlos Garcia Campos * shell/ev-window.c: (ev_window_print_dialog_response_cb): diff --git a/shell/ev-window.c b/shell/ev-window.c index dc96285d..917ebcfd 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; -- 2.43.0