xfdesktop icon text color

Brian J. Tarricone bjt23 at cornell.edu
Sat May 20 22:23:14 CEST 2006


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

Nikolas Arend wrote:
> Brian J. Tarricone wrote:
>> -----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.
>>
>>   
> 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,

Well, it really depends on *how* you're implementing it.  It's hard to
help in the dark ^_^.

	-brian

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

iD8DBQFEb3qy6XyW6VEeAnsRAl+ZAKDAw09YM6bbwrSPdMNAOXm4GfJc5gCgjLeA
SzeoagFM6VQmvdvnbaOQ598=
=Dqhq
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list