generic mimetypes on windows
Gary L. Greene, Jr.
greeneg at tolharadys.net
Fri Apr 20 04:56:18 BST 2007
On Thursday 19 April 2007 15:48, Andreas Pakulat wrote:
> On 19.04.07 23:02:38, Andreas Pakulat wrote:
> > On 19.04.07 21:24:19, Christian Ehrlicher wrote:
> > > Anyone knows how we can create the 'default' mimetypes like text/plain
> > > on windows? kde.xml only creates the kde specific ones and I can't find
> > > a generic.xml somewhere...
> >
> > Uhm, the shared-mime-info sources contain a freedesktop.org.xml file
> > which contains various mimetypes. I guess we need to have that in the
> > update-mime-xx package and set KDEDIRS to include the win32libs/ dir so
> > kbuildsycoca4 finds it.
> >
> > Apart from that, I think KMimeType chokes on drive letters. When opening
> > a file dialog from KDevelop the first call to KMimeType::findByUrl() is
> > with "file://A:/" as URL and that is not a directory (S_DIR fails) and
> > neither is it found in sycoca's cache.
>
> I guess the reason is that KDE_stat expects a file, but if no diskette
> is in that drive it won't get anything. Thus the mode isn't set to
> anything and finding a mimetype for that url of course fails.
>
> Andreas
Also, a good thing to remember is that drives in Windows don't export a file
interface, but rather a storage object.
--
Gary L. Greene, Jr.
Sent from: uriel
20:55:31 up 8 days, 1:11, 7 users, load average: 1.27, 0.53, 0.41
=========================================================================
Developer and Project Lead for the AltimatOS open source project
Volunteer Developer for the KDE open source project
See www.tolharadys.net and www.kde.org for more information
=========================================================================
Please avoid sending me Word or PowerPoint attachments.
-------------- 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/20070419/7eac1d77/attachment.sig>
More information about the kde-core-devel
mailing list