[file-roller] the zip utility cannot be used to read zip files



commit 617b77366cdb295dc6b33207dd9b23613f490b23
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Aug 12 12:39:35 2011 +0200

    the zip utility cannot be used to read zip files

 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 8be5a1b..275209c 100644
--- a/src/fr-command-zip.c
+++ b/src/fr-command-zip.c
@@ -405,7 +405,7 @@ fr_command_zip_get_capabilities (FrCommand  *comm,
 		if (strcmp (mime_type, "application/x-ms-dos-executable") == 0)
 			capabilities |= FR_COMMAND_CAN_READ;
 		else
-			capabilities |= FR_COMMAND_CAN_READ_WRITE;
+			capabilities |= FR_COMMAND_CAN_WRITE;
 	}
 	else if (is_program_available ("unzip", check_command))
 		capabilities |= FR_COMMAND_CAN_READ;



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