From 1676fcc217af73cfea90a18dd42d51e611d0725f Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 11 Jun 2010 22:52:51 +0200 Subject: [PATCH] Confirm before overwriting in Save As dialogue --- midori/midori-browser.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.39.5