[Xfce4-commits] <midori:master> Esc/ closing "downloads still active" should cancel, not continue

Christian Dywan noreply at xfce.org
Wed Mar 14 21:18:04 CET 2012


Updating branch refs/heads/master
         to 7d61f1b897d2e3da09dadf7a7046599607b01fd1 (commit)
       from 09c041f740c842c2a8ed5eba8d0ad554084c315e (commit)

commit 7d61f1b897d2e3da09dadf7a7046599607b01fd1
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Mar 14 21:00:29 2012 +0100

    Esc/ closing "downloads still active" should cancel, not continue

 toolbars/midori-transferbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/toolbars/midori-transferbar.c b/toolbars/midori-transferbar.c
index bbe1bfa..c86e532 100644
--- a/toolbars/midori-transferbar.c
+++ b/toolbars/midori-transferbar.c
@@ -377,7 +377,7 @@ midori_transferbar_confirm_delete (MidoriTransferbar* transferbar)
     }
     if (dialog != NULL)
     {
-        if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_CANCEL)
+        if (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_ACCEPT)
             cancel = TRUE;
         gtk_widget_destroy (dialog);
     }


More information about the Xfce4-commits mailing list