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

Simon Schampijer simon at schampijer.de
Mon Nov 14 13:38:39 EST 2011


I would like to propose the following Feature for inclusion into Sugar: 
"Can share" [1].

This feature will make it clearer if an activity can collaborate or not. 
So far we know inside an Activity if it is able to be shared or not 
because the share button is changing it's state accordingly (the button 
is made insensitive if the activity does not support collaboration). But 
there are other places that need to be aware if an activity supports 
collaboration or not. For example the buddy palette in the neighborhood 
view where you can invite a buddy to your activity. An invitation should 
only be possible if the activity supports collaboration.

I propose to add a field to the activity.info file. This field should be 
named 'can_share' ad takes the values 'yes' and 'no' (like the 
'show_launcher' field). The default value that is assumed if the field 
is not set will be 'no'. The reason here is that the activity maintainer 
who cares about collaboration sets the field and there are more 
activities that do NOT support collaboration than there are who do.

The shell and the toolkit has to change, furthermore the activities that 
support sharing have to change their activity.info file.


[1] http://wiki.sugarlabs.org/go/Features/Can_share

More information about the Sugar-devel mailing list