New panel in trunk

Fabian Nowak timystery at arcor.de
Sun Oct 2 11:46:18 CEST 2005


Am Sonntag, den 02.10.2005, 02:26 -0700 schrieb Brian J. Tarricone:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Fabian Nowak wrote:
> > Hi!
> > 
> > I just noticed, that the panel automagically shrinks the gtkbutton's
> > icons, but does not enlarge them when incresing the size again.
> > of course, restarting the panel gives the correct icon.
> > 
> > Besides, having an 48 pixel panel and the mount plugin having a 32 pixel
> > image, the image is too small and must be resized (by me, I think).
> > 
> > so, the upcoming question is: who shall resize the image's size? it
> > should either be fully up to the panel and gtk, or only up to the
> > author, which would mean to not automagically shrink.
> 
> The panel itself has no idea what's inside the plugins.  The plugin
> itself needs to hook the size-changed signal and resize its icons
> appropriately.

yes, that's what i just implmented while you wrote the answer above ;)
so, mount-plugin now resizes it's icon as far as possible.

but the thing is just that it is _shrunk_ when decreasing the panel
size, and IMO that's far away from transparent, correct, expected
behaviour.

fabian




More information about the Xfce4-dev mailing list