After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 114706 - GNOME Panel do not look for SVG files
GNOME Panel do not look for SVG files
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-06-08 13:50 UTC by Christian Fredrik Kalager Schaller
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description Christian Fredrik Kalager Schaller 2003-06-08 13:50:49 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.
Comment 1 Christian Fredrik Kalager Schaller 2003-06-10 20:18:58 UTC
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
Comment 2 Mark McLoughlin 2003-06-15 14:26:41 UTC
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.