evince r2958 - in trunk: . shell



Author: wbolster
Date: Sun Mar  9 12:40:59 2008
New Revision: 2958
URL: http://svn.gnome.org/viewvc/evince?rev=2958&view=rev

Log:
2008-03-09  Wouter Bolsterlee  <wbolster svn gnome org>

	* 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.


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	Sun Mar  9 12:40:59 2008
@@ -2220,7 +2220,7 @@
 	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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]