From: Wouter Bolsterlee Date: Sun, 9 Mar 2008 12:40:59 +0000 (+0000) Subject: Bug 495107 – Handle print dialog responses correctly X-Git-Tag: EVINCE_2_22_0~5 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=88712fbc8fdf5f104409a3c68cf51e5a671750d0;p=evince.git 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 --- 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;