gnome-vfs v. shared-mime-info



I'm trying to find out how an application should register MIME-types for
it's documents, and how it can register itself as a handler for those
documents.

On the one-hand, there's the shared-mime-info database:
http://freedesktop.org/Standards/AddingMIMETutor
Adding a mime-type as decribed there causes Nautilus to recognise the
new MIME-type after a Nautilus restart.

But at runtime, gnome_vfs_mime_type_is_known() returns false for the new
MIME-type. Is gnome-vfs actually using the shared-mime-info database?

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com





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