[Sugar-devel] [PATCH] Update alpha according to filter after events in neighborhoodview icons - SL #3091

Gonzalo Odiard godiard at sugarlabs.org
Wed Sep 28 08:02:27 EDT 2011


On Mon, Sep 26, 2011 at 9:29 AM, Sascha Silbe <silbe at activitycentral.com>wrote:

> Excerpts from godiard's message of 2011-09-22 21:11:42 +0200:
>
> [src/jarabe/desktop/networkviews.py]
> > @@ -149,6 +149,7 @@ class WirelessNetworkView(CanvasPulsingIcon):
> >          self._update_state()
> >          self._update_icon()
> >          self._update_badge()
> > +        self._update_color()
> [...]
>
> Thanks for the patch! However it looks more like a workaround than a
> real fix.
>
> Why do _all_ AP icons get updated when the state of at most two
> connections changes? Why does the alpha value get reset when the icons
> are updated?
>
>
The alpha is reseted when the animation stop.
I do not think this is not the right solution.
All the other properties (icon, color, badge) are uodated,
we added the alpha to display the filter, then we need update alpha too.

Gonzalo



> Neither the patch description nor the ticket nor digging into the source
> answer the above questions.
>
> Sascha
>
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/
>



-- 
Gonzalo Odiard
SugarLabs Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110928/92bb6b41/attachment.html>


More information about the Sugar-devel mailing list