|
|
|
@ -93,7 +93,7 @@ ArkMenu::ArkMenu( KonqPopupMenu * popupmenu, const char *name, const TQStringLis
|
|
|
|
|
{
|
|
|
|
|
compMimeTypes();
|
|
|
|
|
actionMenu = new TDEActionMenu( i18n( "Compress" ), "ark", actionCollection(), "ark_compress_menu" );
|
|
|
|
|
m_ext = m_conf->readEntry( "LastExtension", ".tar.gz" );
|
|
|
|
|
m_ext = m_conf->readEntry( "LastExtension", ".tar.xz" );
|
|
|
|
|
if ( itemCount == 1 )
|
|
|
|
|
{
|
|
|
|
|
item = itemList.first();
|
|
|
|
@ -104,7 +104,7 @@ ArkMenu::ArkMenu( KonqPopupMenu * popupmenu, const char *name, const TQStringLis
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
action = new TDEAction( KMimeType::mimeType( m_conf->readEntry(
|
|
|
|
|
"LastMimeType", "application/x-tgz" ) )->comment(),
|
|
|
|
|
"LastMimeType", "application/x-txz" ) )->comment(),
|
|
|
|
|
0, this, TQT_SLOT( slotCompressAsDefault() ), actionCollection() );
|
|
|
|
|
}
|
|
|
|
|
actionMenu->insert( action );
|
|
|
|
@ -320,7 +320,7 @@ void ArkMenu::compMimeTypes()
|
|
|
|
|
{
|
|
|
|
|
m_archiveMimeTypes << "application/x-zip";
|
|
|
|
|
|
|
|
|
|
if ( m_conf->readBoolEntry( "UseJar", false ) )
|
|
|
|
|
if ( m_conf->readBoolEntry( "UseJar", true ) )
|
|
|
|
|
m_archiveMimeTypes << "application/x-jar";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|