[Sugar-devel] [PATCH sugar-toolkit-gtk3] ActivityBundle: clean from deprecated code

Simon Schampijer simon at schampijer.de
Thu Jan 12 07:56:01 EST 2012


On 12/01/12 04:42, Alan Jhonn Aguiar Schwyn wrote:
>
>> - activity.info file: removed deprecated field 'service_name' use 'bundle_id' instead
>> -  activity.info file: removed deprecated field 'class' use 'exec' instead
>>
>
> We must use: "exec = sugar-activity activity.Activity" ?
> In old sugar also works good? 		 	   		

The usage of 'class' has been deprecated since ages already [1], and 
'exec' works for a long time already, definitely since 0.84 (maybe even 
before). Here is an example of a activity.info file.

Regards,
    Simon

[1] http://wiki.sugarlabs.org/go/0.90/Notes#API
[2] 
http://git.sugarlabs.org/hello-world/mainline/blobs/master/activity/activity.info


More information about the Sugar-devel mailing list