From d6457fd085aef32a03eec3ba019c465352ca1aed Mon Sep 17 00:00:00 2001 From: Daniel Michalik Date: Wed, 9 Dec 2009 20:56:47 +0100 Subject: [PATCH] Check for the correct dialogue response for Save As This fixes choosing Save As in file download fialogues. --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index e8e654a5..d04c92ca 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -1447,7 +1447,7 @@ midori_view_download_save_as_response_cb (GtkWidget* dialog, MidoriBrowser* browser) { WebKitDownload* download = g_object_get_data (G_OBJECT (dialog), "download"); - if (response == GTK_RESPONSE_ACCEPT) + if (response == GTK_RESPONSE_OK) { gchar* uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog)); webkit_download_set_destination_uri (download, uri); -- 2.39.5