X-KDE-IsAlso=text/plain
Andras Mantia
amantia at kde.org
Wed Jul 27 08:55:57 BST 2005
On Wednesday 27 July 2005 00:19, Olaf Schmidt wrote:
> Am Dienstag, 26. Juli 2005 22:18 schrieb Andras Mantia:
> > If not, I will change the code in KDevelop to not rely on isAlso
> > when checking if a file is text or not.
>
> Shouldn't it check for both in that case?
That would be stupid. If a mimetype is also text/plain one should not
check for X-KDE-Text.
Anyway, as I understood, just keep the X-KDE-Text and whenever you want
to find out if a file is text or binary use it and don't rely on
isAlso("text/plain").
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050727/34d6390a/attachment.sig>
More information about the kde-core-devel
mailing list