]> spindle.queued.net Git - midori/commitdiff
Confirm before overwriting in Save As dialogue
authorChristian Dywan <christian@twotoasts.de>
Fri, 11 Jun 2010 20:52:51 +0000 (22:52 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 11 Jun 2010 20:52:51 +0000 (22:52 +0200)
midori/midori-browser.c

index bf001fed26dbb77cfd1a7411641620dada4064a1..49ed5348c2ec928c19e3af3f733943e15e28d610 100644 (file)
@@ -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)
     {