[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Finding installed applications
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Finding installed applications
- Date: Fri, 05 Aug 2005 19:03:01 +0200
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]