[sugar] Home view notification within Activity

Marco Pesenti Gritti mpgritti at gmail.com
Wed Oct 24 18:40:44 EDT 2007


On 10/24/07, Arjun Sarwal <arjun at laptop.org> wrote:
> Is there a way to know within my Activity when user switches to Home View ?
>
> I'd like to make use of that notification to make my Activity free resources
> as if it has become inactive and gone into the background, rather than
> depending upon "notify::active", which I have observed gets emitted only
> once another Activity has become active, and not before.

Generally activities should not become inactive when you switch to a
different zoom level. It's not a context switch, the user might have
done it to just invite some people from the mesh to it. That's the
reason of the notify::active signal behavior.

Marco


More information about the Sugar mailing list