From: Daniel Michalik Date: Wed, 9 Dec 2009 19:56:47 +0000 (+0100) Subject: Check for the correct dialogue response for Save As X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6457fd085aef32a03eec3ba019c465352ca1aed;p=midori Check for the correct dialogue response for Save As This fixes choosing Save As in file download fialogues. --- 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);