[file-roller] Fixed loading of zip archives with zip/unzip



commit ddfbd6ebf2498d9f89196e857a5cb302546cb035
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Aug 22 17:01:06 2011 +0200

    Fixed loading of zip archives with zip/unzip
    
    Always add CAN_READ to the capabilities if unzip is present
    
    [bug #653404]

 src/fr-command-zip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-command-zip.c b/src/fr-command-zip.c
index 275209c..f58b16c 100644
--- a/src/fr-command-zip.c
+++ b/src/fr-command-zip.c
@@ -407,7 +407,7 @@ fr_command_zip_get_capabilities (FrCommand  *comm,
 		else
 			capabilities |= FR_COMMAND_CAN_WRITE;
 	}
-	else if (is_program_available ("unzip", check_command))
+	if (is_program_available ("unzip", check_command))
 		capabilities |= FR_COMMAND_CAN_READ;
 
 	return capabilities;



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