Features/Launch Limits: Difference between revisions

Godiard (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
[[Category:Feature Page Incomplete]]
[[Category:FeatureLanded|Launch Limits]]
[[Category:Feature|Launch Limits]]
[[Category:Features requested by OLPC AU]]</noinclude>
[[Category:Features requested by OLPC AU]]</noinclude>


Line 38: Line 37:
is open (e.g., SL #4554). This patch sets a limit on the number open
is open (e.g., SL #4554). This patch sets a limit on the number open
instances of an activity based on a new field in activity.info:
instances of an activity based on a new field in activity.info:
maximum_instances.
single_instance.


If and only if the maximum_instances field is present in
If and only if the single_instance field is present in
activity.info, is it used to set the limit of open instances.
activity.info, is it used to set the limit of open instances.
single_instance = yes


== Benefit to Sugar ==
== Benefit to Sugar ==
Line 55: Line 56:
Also impacts the activity.info file of any activity that wishes to set a limit to the number of open instances:
Also impacts the activity.info file of any activity that wishes to set a limit to the number of open instances:


  maximum_instances = 1
  single_instance = yes


== How To Test ==
== How To Test ==