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 151834 - Mixer icon in "Add to panel" window is broken
Mixer icon in "Add to panel" window is broken
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: mixer
git master
Other All
: High minor
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-09-04 16:35 UTC by Julio Merino
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: 2.8.x
GNOME version: 2.7/2.8


Attachments
Sample patch (978 bytes, patch)
2004-09-04 16:35 UTC, Julio Merino
none Details | Review
install the mixer icon in the 'correct' place (3.16 KB, patch)
2004-09-06 09:15 UTC, Danielle Madeley
none Details | Review

Description Julio Merino 2004-09-04 16:35:05 UTC
The icon that should appear together the mixer applet in the "Add to panel"
window is broken.  In fact, it does not appear.

To reproduce: right click on panel, click "Add to panel", search the entry for
"Volume control" and notice that it has no associated icon.

The problem comes because icons are installed in a subdirectory of pixmaps,
i.e., pixmaps/mixer.  However, the GNOME_MixerApplet.server.in.in file, which
contains a reference to the icon, only says 'gnome-mixer-applet.png', so the
file is searched inside pixmaps only.  That file name should be prefixed with a
'mixer/' string.

Note that all other code of the mixer applet adds the 'mixer/' prefix to icons,
so I expect this to be the appropiate solution.  To verify, just run "grep png
*.c" inside the mixer subdirectory.
Comment 1 Julio Merino 2004-09-04 16:35:30 UTC
Created attachment 31257 [details] [review]
Sample patch
Comment 2 Danielle Madeley 2004-09-04 16:39:42 UTC
Aaa haa, I knew there was a reason I had not noticed the mixer on my list the
other day. It's amazing what you can fail to notice. Thanks for pointing this
one out.
Comment 3 Danielle Madeley 2004-09-06 09:15:02 UTC
Created attachment 31321 [details] [review]
install the mixer icon in the 'correct' place

Mark McLoughlin suggested that the icon was being installed in the wrong
location, and this prevented the icon from being themeable.

He had this to say:
    I'd suggest a patch like the one attached - that will allow people to
    add icons to their icon theme and it will override the on supplied by
    the mixer. (Note, the icon in the theme won't override the window icon
    and such because the mixer code doesn't use the icon theme)
Comment 4 Danielle Madeley 2004-09-06 11:34:37 UTC
This is fixed in CVS. Please test.