diff options
Diffstat (limited to 'ark/archiveformatinfo.cpp')
-rw-r--r-- | ark/archiveformatinfo.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ark/archiveformatinfo.cpp b/ark/archiveformatinfo.cpp index e3e6ac2..93cf928 100644 --- a/ark/archiveformatinfo.cpp +++ b/ark/archiveformatinfo.cpp @@ -48,27 +48,24 @@ ArchiveFormatInfo * ArchiveFormatInfo::self() void ArchiveFormatInfo::buildFormatInfos() { + addFormatInfo( TAR_FORMAT, "application/x-txz", ".tar.xz" ); addFormatInfo( TAR_FORMAT, "application/x-tgz", ".tar.gz" ); addFormatInfo( TAR_FORMAT, "application/x-tzo", ".tar.lzo" ); addFormatInfo( TAR_FORMAT, "application/x-tarz", ".tar.z" ); addFormatInfo( TAR_FORMAT, "application/x-tbz", ".tar.bz2" ); addFormatInfo( TAR_FORMAT, "application/x-tlz", ".tar.lzma" ); - addFormatInfo( TAR_FORMAT, "application/x-txz", ".tar.xz" ); - - // x-tar as the last one to get its comment for all the others, too addFormatInfo( TAR_FORMAT, "application/x-tar", ".tar" ); addFormatInfo( LHA_FORMAT, "application/x-lha", ".lha" ); - addFormatInfo( ZIP_FORMAT, "application/x-jar", ".jar" ); addFormatInfo( ZIP_FORMAT, "application/x-zip", ".zip" ); - addFormatInfo( ZIP_FORMAT, "application/x-zip-compressed", ".zip" ); + addFormatInfo( ZIP_FORMAT, "application/x-jar", ".jar" ); + addFormatInfo( COMPRESSED_FORMAT, "application/x-xz", ".xz" ); addFormatInfo( COMPRESSED_FORMAT, "application/x-gzip", ".gz" ); addFormatInfo( COMPRESSED_FORMAT, "application/x-bzip", ".bz" ); addFormatInfo( COMPRESSED_FORMAT, "application/x-bzip2", ".bz2" ); addFormatInfo( COMPRESSED_FORMAT, "application/x-lzma", ".lzma" ); - addFormatInfo( COMPRESSED_FORMAT, "application/x-xz", ".xz" ); addFormatInfo( COMPRESSED_FORMAT, "application/x-lzop", ".lzo" ); addFormatInfo( COMPRESSED_FORMAT, "application/x-compress", ".Z" ); find( COMPRESSED_FORMAT ).description = i18n( "Compressed File" ); |