[file-roller] use the zip format to create cbz files
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [file-roller] use the zip format to create cbz files
- Date: Sat, 19 Dec 2009 09:39:55 +0000 (UTC)
commit a81a72af5f981b23e48b86251c72ea70531fce94
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Dec 19 10:38:41 2009 +0100
use the zip format to create cbz files
src/fr-command-7z.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c
index 46effb7..1990cd7 100644
--- a/src/fr-command-7z.c
+++ b/src/fr-command-7z.c
@@ -324,7 +324,9 @@ fr_command_7z_add (FrCommand *comm,
fr_process_add_arg_concat (comm->process, "-w", base_dir, NULL);
}
- if (is_mime_type (comm->mime_type, "application/zip")) {
+ if (is_mime_type (comm->mime_type, "application/zip")
+ || is_mime_type (comm->mime_type, "application/x-cbz"))
+ {
fr_process_add_arg (comm->process, "-tzip");
fr_process_add_arg (comm->process, "-mem=AES128");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]