[Sugar-devel] [PATCH] Use alpha to visualize filter in neighborhood view

Simon Schampijer simon at schampijer.de
Fri Aug 19 04:33:14 EDT 2011


On 08/19/2011 04:42 AM, godiard at sugarlabs.org wrote:
> From: Gonzalo Odiard<godiard at gmail.com>
>
> Apply a alpha of 0.33 to unfiltered items to have consistency
> with the filter in te favorites view.
>
> Signed-of-by: Gonzalo Odiard<gonzalo at laptop.org>

Thanks for the patch, pushed as:

http://git.sugarlabs.org/sugar/mainline/commit/1e9ed378fe3b10a91d4c6b9d35874dd8f7052ea8

You forgot to include the activity icons and the buddy icons in your 
filter. Did that in the patch pushed.

Like in the filter-in-home-view-patch: I would like the filter constant 
to be factored out in the future since we use it in several places now. 
I guess sugar/style.py is a good place.

Regards,
    Simon

PS: In general I think the alpha value is too high here. The difference 
between a filtered and an unfiltered value is not enough (the 0.33 value 
works well for the launcher though). I had better experience with a 
value of 0.15 for example.


More information about the Sugar-devel mailing list