summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2017-10-11 10:02:24 +0200
committerPablo Barciela <[email protected]>2017-10-14 00:31:56 +0200
commitb4cb14f4340f26ec448f78841dbb84d605fde0eb (patch)
tree29e30f5532fd6ee613d1ca0ce741fc6984f7f07f
parent877772a2ce58fcd01dc9d0ffb738c1c84f72dfd6 (diff)
downloadengrampa-b4cb14f4340f26ec448f78841dbb84d605fde0eb.tar.bz2
engrampa-b4cb14f4340f26ec448f78841dbb84d605fde0eb.tar.xz
7z: Fix: delete/rename files/folders with the list encrypted
based in file-roller commit: https://git.gnome.org/browse/file-roller/commit/?id=0bb26ee4223cdcbca9aa0816c81069b74f15c2f7 Fixes partially https://github.com/mate-desktop/engrampa/issues/185
-rw-r--r--src/fr-command-7z.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c
index e3230a7..ffccc94 100644
--- a/src/fr-command-7z.c
+++ b/src/fr-command-7z.c
@@ -422,6 +422,8 @@ fr_command_7z_delete (FrCommand *comm,
if (g_str_has_prefix (scan->data, "@"))
fr_process_add_arg_concat (comm->process, "-i!", scan->data, NULL);
+ add_password_arg (comm, FR_COMMAND (comm)->password, FALSE);
+
fr_process_add_arg (comm->process, "--");
fr_process_add_arg (comm->process, comm->filename);