summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Daluja <30343-sachindaluja@users.noreply.gitlab.gnome.org>2021-01-05 19:20:24 -0500
committerAntónio Fernandes <antoniof@gnome.org>2021-01-17 17:42:26 +0000
commit95767f84807c2b312ace69b8e19adc74a1156722 (patch)
tree9bc0bf465f949371ee842b5aa5645ebee63f83e7
parent470aaf23f768264e117461af215e5ee429ae1d67 (diff)
downloadnautilus-95767f84807c2b312ace69b8e19adc74a1156722.tar.gz
file-operations: Set "skipped" flag on error
If we fail to get a destination GFile when copying or moving a file on "google-drive:".
-rw-r--r--src/nautilus-file-operations.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}