Re: Gnome2::VFS::FileInfo->get_mime_type
- From: Gavin Brown <gavin brown uk com>
- To: gtk-perl-list gnome org
- Subject: Re: Gnome2::VFS::FileInfo->get_mime_type
- Date: Mon, 12 Jul 2004 11:18:46 +0100
Most gnome-vfs functions also return a GnomeVFSResult, which is quite
helpful in this case:
my ($result, $info) = Gnome2::VFS->get_file_info($file,
'get-mime-type');
warn "result: $result";
That gives "result: error-not-found".
Ah, thanks - it was my fault then. Good to know :p
Gavin.
--
Gavin Brown
e: gavin brown uk com
w: http://jodrell.net/
PGP/GPG key ID: 891D8FCA
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]