Re: getting the icon pixbuf for a file



On Fri, 17 Aug 2012 00:01:08 +0800
Just Fill Bugs <mozbugbox yahoo com au> wrote:

ä 08/16/2012 11:24 PM, Andreas RÃnnquist åé:

Sorry, I mean loading the Pixbuf of the file-type / mime-type of a
file - Not simply loading a file into a pixbuf. That is a bit more
complicated getting...


Maybe this: 
<http://git.gnome.org/browse/gedit/tree/plugins/filebrowser/gedit-file-browser-utils.c>


GIcon *g_file_info_get_icon(GFileInfo *info);


That indeed did the trick! (See attached file for the functions I used.)

Thanks guys! 

/Andreas


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