summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjishengjie <[email protected]>2022-12-14 15:42:32 +0800
committermouse <[email protected]>2023-03-21 17:34:55 +0800
commit54d7198819fee2630dee644c149320a5ad4a5b88 (patch)
treeab8802e5981c9828f8ce1d5c5a27fbfa796b8739 /src
parentc279d858e62bb7d6dbca8e3686e22a5bf88c79f8 (diff)
downloadengrampa-54d7198819fee2630dee644c149320a5ad4a5b88.tar.bz2
engrampa-54d7198819fee2630dee644c149320a5ad4a5b88.tar.xz
fix: Encrypted documents in all formats cannot be successfully pasted to the specified directory after copying and cutting encrypted files and folders
Diffstat (limited to 'src')
-rw-r--r--src/fr-command.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/fr-command.c b/src/fr-command.c
index d840acf..2305032 100644
--- a/src/fr-command.c
+++ b/src/fr-command.c
@@ -608,14 +608,19 @@ fr_command_list (FrCommand *comm)
fr_process_use_standard_locale (comm->process, TRUE);
comm->multi_volume = FALSE;
- if (! comm->fake_load)
+ if (! comm->fake_load) {
FR_COMMAND_GET_CLASS (G_OBJECT (comm))->list (comm);
- else
+ } else {
+ comm->process->error.type = FR_PROC_ERROR_NONE;
+ comm->process->error.status = 0;
+ g_clear_error (&comm->process->error.gerror);
+
g_signal_emit (G_OBJECT (comm),
fr_command_signals[DONE],
0,
comm->action,
&comm->process->error);
+ }
}
void