xfdesktop icon text color

Brian J. Tarricone bjt23 at cornell.edu
Sat May 20 22:02:24 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nikolas Arend wrote:
> Hi,
> 
> 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[1], via gtk's theme
system.  I'm not interested in putting options in the MCS plugin.

	-brian

[1] Though I can't get the label-alpha property to work properly, mainly
because I don't know how theming works, I guess.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEb3XQ6XyW6VEeAnsRAjC4AKDhLGuyqH7c9EfO45mqPjo2M0T+7ACgwgpq
kOPm8ytgSkQYLV9hT8YJXK4=
=oKhk
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list