Re: Finding installed applications



On Thu, 2005-08-04 at 14:54 -0400, muppet wrote:

It appears that gnome_vfs_mime_get_default_application() is not bound
in Gnome2::VFS.

It is, and you use it below. :-)

There's gnome_vfs_mime_get_default_application(), which didn't work, and
gnome_vfs_mime_type_get_default_application(), which did, unless the former is
bound in perl as the latter.

AFAICT, gnome_vfs_mime_type_get_default_application() doesn't exist
(according to Google and grep).
gnome_vfs_mime_get_default_application() is the one you use in your
example.  The Gnome2::VFS::Mime::Type object is a custom thing that I
created to make the API less ugly.  In retrospect I'm not sure that was
a good idea, though.

-- 
Bye,
-Torsten




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