diff options
author | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2016-09-15 11:07:03 +0300 |
---|---|---|
committer | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2016-09-21 23:51:28 +0300 |
commit | 802713aae84011ae763eb58a61a624056468cae9 (patch) | |
tree | 335804437ab27735c24e9189044e16f43a596d5a | |
parent | 7ff0940a0688ff3700a85d1e7219d2992cc42fd0 (diff) | |
download | nautilus-802713aae84011ae763eb58a61a624056468cae9.tar.gz |
file: complete operation if all files skipped
If all files are skipped, then the batch rename operation would not end
appropriately.
To fix this, end the operation when all files are skipped.
https://bugzilla.gnome.org/show_bug.cgi?id=771398
-rw-r--r-- | src/nautilus-file.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nautilus-file.c b/src/nautilus-file.c index b5160119d..665273647 100644 --- a/src/nautilus-file.c +++ b/src/nautilus-file.c @@ -2353,6 +2353,11 @@ real_batch_rename (GList *files, nautilus_file_undo_manager_set_action (op->undo_info); } + + if (op->skipped_files == g_list_length (files)) + { + nautilus_file_operation_complete (op, NULL, error); + } } gboolean |