[gimp/metadata-browser] app: Modify code to handle xz as well
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: Modify code to handle xz as well
- Date: Thu, 13 Sep 2012 00:38:57 +0000 (UTC)
commit adbf4442883c353e45166fa5b74e3c41850ba54d
Author: Mukund Sivaraman <muks banu com>
Date: Sun Sep 2 04:54:21 2012 +0530
app: Modify code to handle xz as well
app/file/file-procedure.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/app/file/file-procedure.c b/app/file/file-procedure.c
index 375339a..a09fa37 100644
--- a/app/file/file-procedure.c
+++ b/app/file/file-procedure.c
@@ -227,7 +227,8 @@ file_procedure_in_group (GimpPlugInProcedure *file_proc,
is_xcf_save = (strcmp (name, "gimp-xcf-save") == 0);
is_filter = (strcmp (name, "file-gz-save") == 0 ||
- strcmp (name, "file-bz2-save") == 0);
+ strcmp (name, "file-bz2-save") == 0 ||
+ strcmp (name, "file-xz-save") == 0);
switch (group)
{
@@ -238,7 +239,7 @@ file_procedure_in_group (GimpPlugInProcedure *file_proc,
case FILE_PROCEDURE_GROUP_EXPORT:
/* Anything but .xcf shall pass */
- /* FIXME: Handle .gz and .bz2 properly */
+ /* FIXME: Handle .gz, .bz2 and .xz properly */
return ! is_xcf_save || is_filter;
case FILE_PROCEDURE_GROUP_OPEN:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]