2008-03-08 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_print_dialog_response_cb):
Make sure print job is only run when the print button is
clicked. Based on patch by Eugen Dedu. Fixes bug #495107.
svn path=/trunk/; revision=2956
+2008-03-08 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-window.c: (ev_window_print_dialog_response_cb):
+
+ Make sure print job is only run when the print button is
+ clicked. Based on patch by Eugen Dedu. Fixes bug #495107.
+
2008-03-03 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/pdfdocument.evince-backend.in:
GtkPrintPages print_pages;
const gchar *file_format;
- if (response == GTK_RESPONSE_CANCEL) {
+ if (response != GTK_RESPONSE_ACCEPT &&
+ response != GTK_RESPONSE_APPLY) {
gtk_widget_destroy (GTK_WIDGET (dialog));
window->priv->print_dialog = NULL;