aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2013-07-06 00:06:37 +0800
committerLAN-TW <lantw44@gmail.com>2013-07-06 00:08:39 +0800
commit3cbc55d9d48dc1c89e13833c37b192ef4418d182 (patch)
tree9982a5c99909e9bedacfe6c88ffcf6a1896c6bf4
parentaa3cbe8cbc0447079033cca68ff786fe7a53fb47 (diff)
downloadgsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.tar
gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.tar.gz
gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.tar.bz2
gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.tar.lz
gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.tar.xz
gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.tar.zst
gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.zip
Add some extensions of compressed files
-rw-r--r--embed/ephy-download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 4f00c6e72..b3a7ad3a1 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -228,7 +228,7 @@ static const char*
file_is_compressed (const char *filename)
{
int i;
- static const char * const compression[] = {".gz", ".bz2", ".Z", ".lz", NULL};
+ static const char * const compression[] = {".gz", ".bz2", ".Z", ".xz", ".lzma", ".lz", ".lrz", NULL};
for (i = 0; compression[i] != NULL; i++) {
if (g_str_has_suffix (filename, compression[i]))