gtk does not recognize svg

Gary Peck gbpeck at sbcglobal.net
Sat Mar 6 21:37:34 UTC 2004


On Fri, Mar 05, 2004 at 09:53:36PM -0800, George Garvey wrote:
> On Sat, Mar 06, 2004 at 12:48:17AM -0500, Marcus Schuetz wrote:
> > After the last slew of updates metacity oand gtk-2.0 themes with svg 
> > pics no longer work. .xsession-errors is full of messages of the type:
> > 
> > Gtk-WARNING **: Error loading icon:  Couldn't recognize the image file 
> > format for file 
> > '/usr/share/themes/CoolGorilla/gtk-2.0/CoolGorilla_stock_dnd.svg'
> 
>    No idea if this is your solution: one of our users reported that gdm
> never ran after they came back from lunch. Tracked it down to 2 files
> missing in /etc/gtk-2.0: gdk-pixbuf.loaders and gtk-immodules. When I
> copied those 2 files from another, working, system; everything was fine.
> The error message was very similar to what you're showing above.

Those files got messed up with the last gtk2/libgnomeui upgrade I think.
Run the following after making sure you have the latest rawhide updates
installed:
    umask 022
    /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
    /usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders

gary





More information about the fedora-test-list mailing list