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

Gonzalo Odiard gonzalo at laptop.org
Wed Aug 31 10:33:32 EDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110831/6a2ac6e0/attachment.html>


More information about the Sugar-devel mailing list