xfdesktop icon text color
Nikolas.Arend at gmx.net
Sat May 20 22:19:02 CEST 2006
Brian J. Tarricone wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Nikolas Arend wrote:
>> I'm playing around a bit with xfdesktop and implemented code for two
>> options that allow for altering the icon label opacity/translucency
>> (alpha value) and the color of the icon text via the mcs plugin.
>> Changing the alpha value of the label background works fine but I'm
>> struggling with the icon text color. So far I only managed to modify the
>> text color of the whole parent window, which means the text color in
>> right-click menus etc will change as well.
>> How can I access and apply only the color attributes of the icon label
>> text? Is there a member in _XfdesktopIconViewPrivate, *playout maybe? I
>> tried to change Pango attributes for the PangoLayout, with no success.
>> Does anybody have a hint here (I suppose Brian knows xfdesktop's code
>> inside out)?
> Both of these features are already implemented, via gtk's theme
> system. I'm not interested in putting options in the MCS plugin.
Yes, I thought you wouldn't. But now that I've started, I'd like to
finish it, whether or not these options will be implemented. If you
could give me a hint, I'd appreciate it nonetheless. I could use a
patched version myself and/or provide a patch for stable releases, in
case people are interested (which IMO is not too unlikely). Besides, it
was a good exercise with gtk and xfce code.
Thanks again for any help,
More information about the Xfce4-dev