[gnome-commander] When doing a keyboard copy/paste or cut/paste operation, always query if target is existing



commit be0aff94d7cebec4ab2ac9f5202e46cfe60cddaa
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Tue Sep 14 21:15:49 2021 +0200

    When doing a keyboard copy/paste or cut/paste operation, always query if target is existing

 src/cap.cc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/cap.cc b/src/cap.cc
index 331357dd..6b8a9325 100644
--- a/src/cap.cc
+++ b/src/cap.cc
@@ -54,7 +54,6 @@ inline void update_refs (GnomeCmdFileList *fl, GList *files)
     _fl = fl;
 }
 
-
 inline void cut_and_paste (GnomeCmdDir *to)
 {
     gnome_cmd_move_start (_files,
@@ -62,7 +61,7 @@ inline void cut_and_paste (GnomeCmdDir *to)
                           _fl,
                           NULL,
                           G_FILE_COPY_NONE,
-                          gnome_cmd_data.options.confirm_move_overwrite,
+                          GNOME_CMD_CONFIRM_OVERWRITE_QUERY,
                           GTK_SIGNAL_FUNC (on_xfer_done), _files);
     _files = NULL;
     _fl = NULL;
@@ -77,7 +76,7 @@ inline void copy_and_paste (GnomeCmdDir *to)
                           _fl,
                           NULL,
                           G_FILE_COPY_NONE,
-                          gnome_cmd_data.options.confirm_copy_overwrite,
+                          GNOME_CMD_CONFIRM_OVERWRITE_QUERY,
                           GTK_SIGNAL_FUNC (on_xfer_done), _files);
     _files = NULL;
     _fl = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]