Re: Viewing pnm images in icon view



On Thu, 20 Feb 2003, Dov Grobgeld wrote:

> Hello,
> 
> I'm trying to figure out how to make the icon view of Nautilus show
> thumbnails of PGM, PPM, and PNM images. Currently these just show up
> with a constant icon.
> 
> I've been roaming the sources trying to figure out where it chooses
> which extensions to show when turning on <<Preferences/Preview/Image
> Files/Show thumnails: Always>>, but still haven't been able to figure
> it out. Why doesn't Nautilus just show all file formats supported by
> gdkpixbuf?
> 
> I would be most pleased if someone can enlighten me how to get this
> working. Source changes don't scare me. 8-)
> 
> My version is the latest Nautilus from Garnome - version nautilus-2.2.0.2.

You need to fix 
libgnomeui/libgnomeui/gnome-icon-lookup.c:mimetype_supported_by_gdk_pixbuf() 
to use the new gdk_pixbuf_get_formats() and 
gdk_pixbuf_format_get_mime_types() code.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a gun-slinging sweet-toothed stage actor with a secret. She's a violent 
Bolivian hooker from Mars. They fight crime! 




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