From 7d61f1b897d2e3da09dadf7a7046599607b01fd1 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 14 Mar 2012 21:00:29 +0100 Subject: [PATCH] Esc/ closing "downloads still active" should cancel, not continue --- toolbars/midori-transferbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5