Re: Per-server icons for an AFP gnome-vfs2 module
Alexander Larsson <[email protected]>
| Newsgroups | gmane.comp.gnome.vfs.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2007-10-06 at 19:00 +0200, Christian Kellner wrote: > > AFP servers can have different icons, and you can query the server > > over the network to get it. I'd like to use this generated icon in my > > open, get_file_info, do_read_directory etc. callbacks so that it gets > > displayed instead of just the same icon. Note that the icon can be > > different for different servers. > I am not sure that can at all work with gnome-vfs the way you want it > but there might be a chance to do that in gvfs which is way more > flexible. Alex Larsson would know better. Alex? Yes, gvfs returns an icon from query_file_info (i.e. stat), whereas icons are not even in the API for gnome-vfs.