[sugar] [PATCH][sugar.activity] When joining an activity that's already been joined, call a callback which exists

Dan Williams dcbw
Wed May 9 10:22:32 EDT 2007


On Wed, 2007-05-09 at 15:13 +0100, Simon McVittie wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> - ---
>  sugar/activity/activity.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Yeah, good catch.  For stuff like this that's small and obviously
correct, feel free to commit.

Dan

> diff --git a/sugar/activity/activity.py b/sugar/activity/activity.py
> index 9fcdb36..3adc2bc 100644
> - --- a/sugar/activity/activity.py
> +++ b/sugar/activity/activity.py
> @@ -141,7 +141,7 @@ class Activity(Window, gtk.Container):
>              if not self._shared_activity.props.joined:
>                  self._shared_activity.join()
>              else:
> - -                self._joined_cb(self._shared_activity, True, None)
> +                self._internal_joined_cb(self._shared_activity, True, None)
>  
>          self._bus = ActivityService(self)
>  
> - -- 
> 1.5.1.3
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
> 
> iD8DBQFGQdccWSc8zVUw7HYRAmHgAKCvs2TrYAzB1u2zjbiuiQ6mshjn+ACffUpZ
> NS9WOHr7unHPrKYuKNem99w=
> =12rb
> -----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