Summary: | RAR missing in Konqueror's Extract service menu | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Fikret Skrgic <skrgic> |
Component: | general | Assignee: | Harald Hvaal <metellius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rakuco |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | patches konq-plugins/arkplugin/arkplugin.cpp |
Description
Fikret Skrgic
2005-11-17 10:38:44 UTC
This is probably related to the MIME type change. Possibly related to bug #113287. Created attachment 13522 [details]
patches konq-plugins/arkplugin/arkplugin.cpp
Thiago Macieira and From Niels pointed me in the right direction. Thanks, guys.
Isn't open source just fabulous? Anyway, I fixed it. It was very simple. This
patch patches konq-plugins/arkplugin/arkplugin.cpp and removes the problem.
Sorry, Niels. I didn't pay attention and copy/pasting I copied your name as From Niels. :-) Resolved. Hi! Thank you for the patch, I'll apply it after KDE 3.5.0 is released (it seems we're on total freeze until that happens). BTW, you should not mark bugs as resolved yourself unless you committed the fix to SVN. I'm reopening the bug, otherwise your patch would be lost. >Sorry, Niels. I didn't pay attention and copy/pasting I copied your name as From Niels. :-)
No problem, I've been called worse ;-)
Thank you for fixing this!
Thx for fixing too. Ugly bug. :) SVN commit 496805 by henrique: * Fix the right-click menu for RAR archives. Patch by Fikret Skrgic. BUG: 116552 M +2 -2 arkplugin.cpp --- branches/KDE/3.5/kdeaddons/konq-plugins/arkplugin/arkplugin.cpp #496804:496805 @@ -293,7 +293,7 @@ } if ( !KStandardDirs::findExe( "rar" ).isNull() && m_conf->readBoolEntry( "UseRar", true ) ) - m_archiveMimeTypes << "application/x-rar"; + m_archiveMimeTypes << "application/x-rar" << "application/x-rar-compressed"; if ( !KStandardDirs::findExe( "zoo" ).isNull() && m_conf->readBoolEntry( "UseZoo", false ) ) m_archiveMimeTypes << "application/x-zoo"; @@ -353,7 +353,7 @@ m_extractMimeTypes << "application/x-zip" << "application/x-jar"; if ( !KStandardDirs::findExe( "unrar" ).isNull() ) - m_extractMimeTypes << "application/x-rar"; + m_extractMimeTypes << "application/x-rar" << "application/x-rar-compressed"; if ( !KStandardDirs::findExe( "zoo" ).isNull() ) m_extractMimeTypes << "application/x-zoo"; Changing the component to general so we can remove "Konqueror Plugin" from the component list (doesn't make sense in KDE4). |