[file-roller] Can't open file inside a .rar archive (with unar)



commit a830397ab745bdfe2659f214b5384dc7ef5c76cf
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Aug 6 17:39:03 2012 +0200

    Can't open file inside a .rar archive (with unar)
    
    [bug #680676]

 src/fr-command-unarchiver.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
index b1c7425..2d9fe07 100644
--- a/src/fr-command-unarchiver.c
+++ b/src/fr-command-unarchiver.c
@@ -193,8 +193,7 @@ fr_command_unarchiver_extract (FrCommand  *comm,
 	else
 		fr_process_add_arg (comm->process, "-s");
 
-	if (junk_paths)
-		fr_process_add_arg (comm->process, "-D");
+	fr_process_add_arg (comm->process, "-D");
 
 	if ((FR_ARCHIVE (comm)->password != NULL) && (FR_ARCHIVE (comm)->password[0] != '\0'))
 		fr_process_add_arg_concat (comm->process, "-password=", FR_ARCHIVE (comm)->password, NULL);
@@ -320,7 +319,7 @@ fr_command_unarchiver_init (FrCommandUnarchiver *self)
 
 	base->propExtractCanAvoidOverwrite = TRUE;
 	base->propExtractCanSkipOlder      = FALSE;
-	base->propExtractCanJunkPaths      = TRUE;
+	base->propExtractCanJunkPaths      = FALSE;
 	base->propPassword                 = TRUE;
 	base->propTest                     = FALSE;
 	base->propListFromFile             = FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]