Re: questions about some functions



On 18 Dec 2002, Michael Meeks wrote:

> > > i have also found gnome_vfs_icon_path_from_filename, isn't this
> > > overlapped with gnome_program_* functions?
> > 
> > Yeah, sort of.
> 
> 	Incidentally - how does the new icon set stuff you did tie into the
> gnome-vfs icon APIs Alex ? [ does it provide a new API instead ? ]

They sort of overlap. You can use gnome_icon_lookup() to look up the icon 
for a file. It will then call the gnome-vfs mime icon stuff for you,  but 
that is mostly not needed since it normally uses the mimetype and other 
stuff to derive the icon name. 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a lonely Republican rock star with a secret. She's a cynical mutant 
single mother from a family of eight older brothers. They fight crime! 




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