From: Christian Dywan Date: Wed, 14 Mar 2012 20:00:29 +0000 (+0100) Subject: Esc/ closing "downloads still active" should cancel, not continue X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d61f1b897d2e3da09dadf7a7046599607b01fd1;p=midori Esc/ closing "downloads still active" should cancel, not continue --- diff --git a/toolbars/midori-transferbar.c b/toolbars/midori-transferbar.c index bbe1bfac..c86e5323 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); }