[pygtk] Gnome Icons

Edward A Robinson earobinson at gmail.com
Sat Mar 24 03:47:39 WST 2007


I'm trying to get the gnome icons for a list of files and display then
just like it works in nautilus, any idea how this can be done?

I know how to get the mime types, and I assume the code is something like this

icon = gnome.ui.icon_lookup(theme,
                                            thumb_factory,
                                            filename,
                                            file_info.mime_type or "",
                                            10)

But I cant seem to figure it out.

Thanks for your help in advance.

-- 
Edward A Robinson


More information about the pygtk mailing list