[Portland] [PATCH] Enable "xdg-mime query filetype" for KDE4

Manuel Reimer Manuel.Reimer at gmx.de
Mon Feb 2 13:08:09 PST 2009


Hello,

if someone tries to query for the mimetype of a file in KDE4, then xdg-mime returns an empty string.

Primary reason is, that kfile has been replaced with kfile4. Problem with kfile4: At least with my KDE4 build, anything it does is to print error and warning messages.

But a much better utility for this case comes with KDE4, that I used. See my attached patch.

CU

Manuel
-- 
()  ascii ribbon campaign - against html mail
/\                        - gegen HTML-Mail
answers as html mail will be deleted automatically!
Antworten als HTML-Mail werden automatisch gelöscht!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdg-mime_kde4.patch
Type: application/octet-stream
Size: 1013 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/portland/attachments/20090202/ea8de0c0/attachment.obj 


More information about the Portland mailing list