[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Mimetypes from kioslave ignored?!
From: Fritz Elfert <felfert () to ! com>
Date: 2001-03-26 20:01:42
[Download RAW message or body]
Works perfect. Thanks!
On Sun, 25 Mar 2001, David Faure wrote:
> Ah, I see what broke this: the guessed_mimetype thingie for the FTP support.
>
> Can you try this patch ?
>
> Index: kfileitem.cpp
> ===================================================================
> RCS file: /home/kde/kdelibs/kio/kfileitem.cpp,v
> retrieving revision 1.89
> diff -u -p -r1.89 kfileitem.cpp
> --- kfileitem.cpp 2001/02/10 12:58:21 1.89
> +++ kfileitem.cpp 2001/03/25 12:52:53
> @@ -92,6 +92,7 @@ KFileItem::KFileItem( const KIO::UDSEntr
>
> case KIO::UDS_MIME_TYPE:
> m_pMimeType = KMimeType::mimeType((*it).m_str);
> + d->bMimeTypeKnown = true;
> break;
>
> case KIO::UDS_GUESSED_MIME_TYPE:
>
[...]
>
> It would.
> Feel free to send in a patch that adds a X-KDE-Protocol field in
> the plugin's desktop files (adding the definition of this field
> in the KPropsDlg/Plugin service-type file), and checking it in
> kpropsdlg :)
>
Ahh, never digged into that kservicetypes-thingie before. Ok, patch is
attached. Shouldn't break BC and is also compatible to servicetype-entries
without X-KDE-Protocol.
Thanks again
-Fritz
--
Fritz Elfert <felfert@to.com> Thinking Objects Software GmbH
Kranstraße 8 Phone: +49 711 838981 50
70499 Stuttgart FAX: +49 711 838981 69
--------------------------------------------------------------------------
["kdelibs-2.1-kpropsdlg-protoproperty.patch.gz" (APPLICATION/x-gzip)]
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic