evince r2956 - in trunk: . shell
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r2956 - in trunk: . shell
- Date: Sat, 8 Mar 2008 20:04:10 +0000 (GMT)
Author: carlosgc
Date: Sat Mar 8 20:04:10 2008
New Revision: 2956
URL: http://svn.gnome.org/viewvc/evince?rev=2956&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/shell/ev-window.c
Modified: trunk/shell/ev-window.c
==============================================================================
--- trunk/shell/ev-window.c (original)
+++ trunk/shell/ev-window.c Sat Mar 8 20:04:10 2008
@@ -2220,7 +2220,8 @@
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]