[Sugar-devel] [Server-devel] Reasonable number of users sharing an activity instance?

Christoph Derndorfer christoph.derndorfer at gmail.com
Wed Apr 6 07:08:20 EDT 2011


Am 06.04.2011 um 12:28 schrieb James Cameron <quozl at laptop.org>:

> On Wed, Apr 06, 2011 at 11:35:49AM +0200, Christoph Derndorfer wrote:
>> I seem to remember some discussions about an activity or its metadata
>> specifying for how many users its made for (e.g. two users for  
>> certain
>> activities and games). Additional users would then be able to observe
>> the collaborative mode in some sort of "view only" mode.  
>> Unfortunately
>> I now can't seem to find the appropriate e-mail threads on the
>> lists...
>
> Perhaps you recall this meme:
>
> class MyActivity(Activity):
>    def __init__(self, handle):
>    Activity.__init__(self, handle)
>    self.max_participants = 1
>
> However, I cannot see any code in sugar-toolkit that uses the
> max_participants property for anything other than deciding whether to
> show the share-with widget.

Hi James,

yes, thanks, that field and the lack of code actually doing much with  
it was definitely a part of those discussions I'm thinking about.

Christoph


More information about the Sugar-devel mailing list