[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DesktopMime issue?


Hey everyone,

I found a possible issue with the DesktopMime component.
An application was having trouble loading generic 'mime-types'. I tried
debugging the component's code, and it loads the data in the ReadMimeFile
function. The sPath parameter it receives has the following value:
"/usr/share/mime/globs2".

It loads correctly and then tries to load the generic 'mime-types' from the
file: generic-icons.
On line 209, it executes:
If Exist(sPath &/ "mime/generic-icons") Then

So it's looking for: "/usr/share/mime/globs2/mime/generic-icons". It never
actually loads the generic icons.

Best regards.