|
|
|
@ -304,10 +304,7 @@ void ArkMenu::compMimeTypes()
|
|
|
|
|
if ( havegz )
|
|
|
|
|
m_archiveMimeTypes << "application/x-tgz";
|
|
|
|
|
if ( havebz2 )
|
|
|
|
|
{
|
|
|
|
|
m_archiveMimeTypes << "application/x-tbz";
|
|
|
|
|
m_archiveMimeTypes << "application/x-tbz2";
|
|
|
|
|
}
|
|
|
|
|
if ( havelzop )
|
|
|
|
|
m_archiveMimeTypes << "application/x-tzo";
|
|
|
|
|
if ( havelzma )
|
|
|
|
@ -358,7 +355,7 @@ void ArkMenu::extMimeTypes()
|
|
|
|
|
{
|
|
|
|
|
havegz = true;
|
|
|
|
|
m_extractMimeTypes << "application/x-gzip";
|
|
|
|
|
m_extractMimeTypes << "application/x-gzpostscript";
|
|
|
|
|
m_extractMimeTypes << "application/x-gzpostscript";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool havebz2 = false;
|
|
|
|
@ -379,14 +376,14 @@ void ArkMenu::extMimeTypes()
|
|
|
|
|
if ( !TDEStandardDirs::findExe( "lzma" ).isNull() )
|
|
|
|
|
{
|
|
|
|
|
havelzma = true;
|
|
|
|
|
m_archiveMimeTypes << "application/x-lzma";
|
|
|
|
|
m_extractMimeTypes << "application/x-lzma";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool havexz = false;
|
|
|
|
|
if ( !TDEStandardDirs::findExe( "xz" ).isNull() )
|
|
|
|
|
{
|
|
|
|
|
havexz = true;
|
|
|
|
|
m_archiveMimeTypes << "application/x-xz";
|
|
|
|
|
m_extractMimeTypes << "application/x-xz";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( !TDEStandardDirs::findExe( "tar" ).isNull() )
|
|
|
|
@ -395,10 +392,7 @@ void ArkMenu::extMimeTypes()
|
|
|
|
|
if ( havegz )
|
|
|
|
|
m_extractMimeTypes << "application/x-tgz";
|
|
|
|
|
if ( havebz2 )
|
|
|
|
|
{
|
|
|
|
|
m_extractMimeTypes << "application/x-tbz";
|
|
|
|
|
m_extractMimeTypes << "application/x-tbz2";
|
|
|
|
|
}
|
|
|
|
|
if ( havelzop )
|
|
|
|
|
m_extractMimeTypes << "application/x-tzo";
|
|
|
|
|
if ( havelzma )
|
|
|
|
|