[sugar] [PATCH] services/presence/: move more of the handle tracking into the Buddy object

Dan Williams dcbw
Tue May 22 15:13:01 EDT 2007


On Tue, 2007-05-22 at 18:27 +0100, Simon McVittie wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tue, 22 May 2007 at 12:42:13 -0400, Dan Williams wrote:
> > The reason there were symmetrical BuddyAppeared/BuddyDisappeared signals
> > on the PS object itself was so that clients could attach to _one_ signal
> > on the PS to detect buddy disappearance, rather than connecting a signal
> > to each buddy him/herself.  This would suck for the mesh view, for
> > example
> 
> I'm not altering the D-Bus API with this patch - it's just
> some refactoring to put code in a better place. The Buddy emits a
> GSignal 'disappeared' when it runs out of handles, which causes the PS to
> emit BuddyDisappeared; this is as opposed to having the PS inspect the
> Buddy to see if it has any handles left.

Yeah, I thought about it again and re-read the patch and my comments are
wrong.  Sorry...

Dan

> 	Simon
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
> 
> iD8DBQFGUyf+WSc8zVUw7HYRAl3SAKDJPrEyZ1YqkvuZPACCzLqo3FaP9gCg6ZdG
> nDbaIizmgLTZzkVcEtGp7QU=
> =5BPp
> -----END PGP SIGNATURE-----
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar




More information about the Sugar-devel mailing list