Confirm before overwriting in Save As dialogue
This commit is contained in:
parent
61add83eeb
commit
1676fcc217
1 changed files with 1 additions and 0 deletions
|
@ -1035,6 +1035,7 @@ midori_browser_save_uri (MidoriBrowser* browser,
|
||||||
|
|
||||||
dialog = sokoke_file_chooser_dialog_new (_("Save file as"),
|
dialog = sokoke_file_chooser_dialog_new (_("Save file as"),
|
||||||
GTK_WINDOW (browser), GTK_FILE_CHOOSER_ACTION_SAVE);
|
GTK_WINDOW (browser), GTK_FILE_CHOOSER_ACTION_SAVE);
|
||||||
|
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);
|
||||||
|
|
||||||
if (uri)
|
if (uri)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue