generic mimetypes on windows
    Andreas Pakulat 
    apaku at gmx.de
       
    Thu Apr 19 22:02:38 BST 2007
    
    
  
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.
Andreas
-- 
You will be traveling and coming into a fortune.
    
    
More information about the kde-core-devel
mailing list