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

This commit is contained in:
Christian Dywan 2012-03-14 21:00:29 +01:00
parent 09c041f740
commit 7d61f1b897

View 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);
}