[Sugar-devel] Deprecating class and service_name in activity.info file

Simon Schampijer simon at schampijer.de
Thu Sep 1 02:40:52 EDT 2011


On 08/31/2011 04:33 PM, Gonzalo Odiard wrote:
> In the ticket #2870 we tried to change all the activities included by
> default to use
> bundle_id and exec configuration due to deprecation of class and
> service_name.
> The only pending activity is Record
> The change is simple and I have tested it:
>
> [gonzalo at aronax mainline]$ git diff
> diff --git a/activity/activity.info b/activity/activity.info
> index 3b6b219..f3215a0 100644
> --- a/activity/activity.info
> +++ b/activity/activity.info
> @@ -1,7 +1,7 @@
>   [Activity]
>   name = Record
>   bundle_id = org.laptop.RecordActivity
> -class = record.Record
> +exec = sugar-activity record.Record
>   icon = activity-record
>   activity_version = 93
>   show_launcher = yes
>
> Thanks
>
> Gonzalo

Looks good: Reviewed-by: Simon Schampijer <simon at laptop.org>

Regards,
    Simon


More information about the Sugar-devel mailing list