[Sugar-devel] [FEATURE] Add can share/or not information to activities

Gonzalo Odiard gonzalo at laptop.org
Wed Nov 16 05:07:59 EST 2011


The problem is how to know if the activity can be shared in the shell.
The information in the .info file is known by the activity and by the shell,
but the max_participants information is known only by the activity.

Gonzalo

On Wed, Nov 16, 2011 at 3:21 AM, Alan Jhonn Aguiar Schwyn <
alanjas at hotmail.com> wrote:

>
> Hi,
>
> Why add another thing? ('can_share')
>
> Make the things easy:
>
> If self.max_participants = 1 then
>     the activity can't be shared
> else
>    the activity can be shared
>
> Regards
>
> Alan
>
> PS: this is not the current operation?
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111116/bd4d5705/attachment-0001.html>


More information about the Sugar-devel mailing list