From: Christian Dywan Date: Fri, 11 Jun 2010 20:52:51 +0000 (+0200) Subject: Confirm before overwriting in Save As dialogue X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1676fcc217af73cfea90a18dd42d51e611d0725f;p=midori Confirm before overwriting in Save As dialogue --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index bf001fed..49ed5348 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -1035,6 +1035,7 @@ midori_browser_save_uri (MidoriBrowser* browser, dialog = sokoke_file_chooser_dialog_new (_("Save file as"), GTK_WINDOW (browser), GTK_FILE_CHOOSER_ACTION_SAVE); + gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE); if (uri) {