]> spindle.queued.net Git - midori/commitdiff
Esc/ closing "downloads still active" should cancel, not continue
authorChristian Dywan <christian@twotoasts.de>
Wed, 14 Mar 2012 20:00:29 +0000 (21:00 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 14 Mar 2012 20:02:16 +0000 (21:02 +0100)
toolbars/midori-transferbar.c

index bbe1bfacac2c122ecb52df3fb196b9d9fa555c55..c86e5323359b4007516a955672c626be5846fa7f 100644 (file)
@@ -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);
     }