Comment 3 for bug 8343

Revision history for this message
James Henstridge (jamesh) wrote :

Created an attachment (id=171)
gnome-panel-pixbuf-loading.patch

Okay, here's a patch that changes all uses of gdk_pixbuf_new_from_file() to
gdk_pixbuf_new_from_file_at_size() in the gnome-panel code (including some
fixes to code cut-n-pasted from libegg). This should cause the SVG icons to be
rendered at an appropriate size.

This patch is against the upstream gnome-panel code. I've checked the Ubuntu
panel patches, and they don't explicitly load images (the icons in the Computer
menu are loaded using panel_make_menu_icon(), which I patch).

I think it is working, but it's a bit difficult to tell (I just need to render
the SVG small and compare it with a scaled rendered SVG).