[Xfce4-commits] <midori:master> Confirm before overwriting in Save As dialogue

Christian Dywan noreply at xfce.org
Fri Jun 11 23:00:01 CEST 2010


Updating branch refs/heads/master
         to 1676fcc217af73cfea90a18dd42d51e611d0725f (commit)
       from 61add83eeb8d2a8eda011768fb5823be8b59c533 (commit)

commit 1676fcc217af73cfea90a18dd42d51e611d0725f
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Jun 11 22:52:51 2010 +0200

    Confirm before overwriting in Save As dialogue

 midori/midori-browser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index bf001fe..49ed534 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)
     {



More information about the Xfce4-commits mailing list