Version: (using KDE KDE 3.1.1a) Installed from: Unlisted Binary Package Compiler: gcc2.95 Binaries from kde.org OS: Linux Usability sort of item rather than functionality: by default, the manpage ioslave selects "file management" profile, which has the navbar displayed. In KDE2.2, the navbar wasn't displayed on man pages, and I feel that was better. I rarely need to consult it when I'm looking up a command syntax. Nick
the ioslave can't select konqueror profiles, it simply delivers files. I can however confirm, that info:gcc selects web browsing, while man:gcc selects file management in konqueror.
Subject: kdelibs/kio/kio CVS commit by faure: If the protocol says it returns always e.g. text/html, then trust it. As discussed with coolo (and my patch is more readable than his :) CCMAIL: 58505-done@bugs.kde.org M +9 -5 kmimetype.cpp 1.163 --- kdelibs/kio/kio/kmimetype.cpp #1.162:1.163 @@ -225,4 +225,5 @@ KMimeType::Ptr KMimeType::findByURL( con if ( !_is_local_file || _fast_mode ) { + QString def = KProtocolInfo::defaultMimetype( _url ); if ( path.endsWith( slash ) || path.isEmpty() ) { @@ -231,12 +232,15 @@ KMimeType::Ptr KMimeType::findByURL( con // of redirections (e.g. freshmeat downloads). // Assume inode/directory otherwise. - QString def = KProtocolInfo::defaultMimetype( _url ); return mimeType( def.isEmpty() ? QString::fromLatin1("inode/directory") : def ); } + if ( !def.isEmpty() && def != defaultMimeType() ) + { + // The protocol says it always returns a given mimetype (e.g. text/html for "man:") + return mimeType( def ); } // No more chances for non local URLs - if ( !_is_local_file || _fast_mode ) return mimeType( defaultMimeType() ); + } // Do some magic for local files