--nextPart1278116.2BBAqK8bJJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 fi= nd > > > 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 fil= e=20 interface, but rather a storage object. =2D-=20 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Please avoid sending me Word or PowerPoint attachments. --nextPart1278116.2BBAqK8bJJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) iD8DBQBGKDnp+psNrGG9CbMRAmTgAJ97sOIILvKvPoZ4AQBss6EYsr0dfgCg2YlY AH4l2O3TyGfVIEUOU/nRLIo= =eKAw -----END PGP SIGNATURE----- --nextPart1278116.2BBAqK8bJJ--