[nautilus] file-operations: Set "skipped" flag on error



commit 95767f84807c2b312ace69b8e19adc74a1156722
Author: Sachin Daluja <30343-sachindaluja users noreply gitlab gnome org>
Date:   Tue Jan 5 19:20:24 2021 -0500

    file-operations: Set "skipped" flag on error
    
    If we fail to get a destination GFile when copying or moving a file on
    "google-drive:".

 src/nautilus-file-operations.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c
index b5af920f4..c007f7625 100644
--- a/src/nautilus-file-operations.c
+++ b/src/nautilus-file-operations.c
@@ -5299,6 +5299,7 @@ copy_move_file (CopyMoveJob   *copy_job,
         dest = get_target_file_from_source_display_name (copy_job, src, dest_dir);
         if (dest == NULL)
         {
+            *skipped_file = TRUE;
             return;
         }
     }


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