GNOME Bugzilla – Bug 114706
GNOME Panel do not look for SVG files
Last modified: 2004-12-22 21:47:04 UTC
I discovered that themeing the panel menu/panel icons is currently not working when using SVG files. It seems the panel simply isn't looking for SVG files. If I rename the files to PNG (not converting them, just renaming) they show up fine so the bug should be rather trivial to fix.
Adding some discussion I had today on IRC with Havoc and Dave Camp: <Uraeus> hp: is my problem with the panel menu not picking up svg icons provided by themes related to the vfolder implementation? or is the problem elsewhere? <hp> Uraeus: I haven't seen a description of that problem, it sounds like a librsvg kind of problem <campd> elsewhere <Uraeus> hp: no, you see if you just rename the icon into png (rename, not convert) the menu pick them up and display them just fine so it is not librsvg related <Uraeus> I just I could have my themes ship all the icon svg files with a png extension but that is kinda ugly IMHO <hp> strange <hp> can eog open the file named foo.svg? <Uraeus> yes <hp> oh, I know what it is <hp> there's a hack in the icon theme stuff that strips off .png from the Icon= line <hp> so basically the simplest solution is to extend that hack <hp> wait, that can't be it <hp> nevermind <Uraeus> no, I tried removing the extension from the gnome-terminal desktop file, but that didn't help <campd> the panel might not be setting can_use_svg ? <hp> I dunno, just file a panel bug and someone will have to debug it <Uraeus> campd: well it works to assign a svg icon to a panel launcher manually <Uraeus> (even if scaling is broken) <campd> Uraeus: right, because that doesn't use the icon theme
Should work now ... haven't actually tested it though ... 2003-06-12 Mark McLoughlin <mark@skynet.ie> * main.c (main): enable svgs on the icon theme. Fix for bug #114706.