]> www.fi.muni.cz Git - evince.git/commitdiff
Bug 495107 – Handle print dialog responses correctly
authorWouter Bolsterlee <wbolster@svn.gnome.org>
Sun, 9 Mar 2008 12:40:59 +0000 (12:40 +0000)
committerWouter Bolsterlee <wbolster@src.gnome.org>
Sun, 9 Mar 2008 12:40:59 +0000 (12:40 +0000)
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.

svn path=/trunk/; revision=2958

ChangeLog
shell/ev-window.c

index 3f9f7bf7bb3bf82e92288e11ca47ea1e7edcfad8..f96367aacb499e75d4f3f7ae53ea398889284361 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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.
+
 2008-03-08  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * shell/ev-window.c: (ev_window_print_dialog_response_cb):
index dc96285d79429cb1cf5a42b3cf9ac1cadec61279..917ebcfd9fd2dd955a1f0fc1275bd5b8a45dbed3 100644 (file)
@@ -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;