summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2017-10-11 10:02:24 +0200
committerraveit65 <[email protected]>2017-11-06 15:15:38 +0100
commited667de4ebd410bd2f99aeea73e43a9b87947429 (patch)
tree86de25fee84b4ace7af8850028c0987d991ce101
parentc24df41601ceba5f929b8babea04ea5a6a6ac68b (diff)
downloadengrampa-ed667de4ebd410bd2f99aeea73e43a9b87947429.tar.bz2
engrampa-ed667de4ebd410bd2f99aeea73e43a9b87947429.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);