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 144531 - icon on the panel is not well resized
icon on the panel is not well resized
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: mixer
2.5.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-17 13:22 UTC by Baptiste Mille-Mathias
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to make the mixer applet follow the panel size (1.68 KB, patch)
2004-06-21 22:09 UTC, Vincent Noel
none Details | Review

Description Baptiste Mille-Mathias 2004-06-17 13:22:14 UTC
add a volume control appelt to a panel 
set the size of the panel to 12 : the icon is well sized
set your panel to a size of 13 (or over) : the icon is too big and is cuted at
the top and the bottom.

the same problem appears with the values 24 and 25.
Comment 1 Vincent Noel 2004-06-21 21:43:29 UTC
This is due to the way panel_applet_get_size works (see bug #135269 : the size
is just an indication). I'll try to write a patch soon.
Comment 2 Vincent Noel 2004-06-21 22:09:03 UTC
Created attachment 28914 [details] [review]
patch to make the mixer applet follow the panel size

With this patch the mixer applet (volume control) follows the panel size. This
also moves the mixer applet out of the scope of bug #129124.
Comment 3 Vincent Noel 2004-06-21 22:12:03 UTC
Also this bug is for the mixer component and not "sound-monitor".
Comment 4 Dennis Smit 2004-06-22 23:48:53 UTC
Updating to right component.
Comment 5 Dennis Smit 2004-06-26 11:48:23 UTC
Applied patch, closing bug, thanks a lot Vincent!

___
2004-06-26  Dennis Smit  <ds@nerds-incorporated.org>

        * mixer.c (applet_size_allocate): Added function.

        (mixer_update_image): Don't get size from the panel
        but using the allocation.

        (mixer_applet_create): Connect signal to the
        applet_size_allocate.

        Patch by: Vincent Noel  <vnoel@cox.net>

        Fixes bug #144531.