Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorC. Scott Ananian <cscott@laptop.org>2007-12-17 23:42:51 (GMT)
committer C. Scott Ananian <cscott@laptop.org>2007-12-17 23:42:51 (GMT)
commit622d1fb0d3136c5f2f6c061d75c34c1344703d84 (patch)
tree416b31d425381a3c7a3780bb8335085468d9f1f8
parent5928d8d0953672a28ef812ea5f9bb3a44c0da7ec (diff)
Use both service_name *and* bundle_id in the activity bundle info file.
The sugar.bundle.activitybundle module claims that service_name is deprecated in favor of bundle_id, but all of our standard activities use service_name at the moment. Further localization doesn't work unless you use service_name.
-rw-r--r--activity/activity.info1
-rw-r--r--pippy_app.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/activity/activity.info b/activity/activity.info
index e630edd..72cbb78 100644
--- a/activity/activity.info
+++ b/activity/activity.info
@@ -1,5 +1,6 @@
[Activity]
name = Pippy
+bundle_id = org.laptop.Pippy
service_name = org.laptop.Pippy
class = pippy_app.PippyActivity
icon = activity-icon
diff --git a/pippy_app.py b/pippy_app.py
index 99d7436..c4eff1b 100644
--- a/pippy_app.py
+++ b/pippy_app.py
@@ -588,6 +588,7 @@ ACTIVITY_INFO_TEMPLATE = """
[Activity]
name = %(title)s
bundle_id = %(id)s
+service_name = %(id)s
class = %(class)s
icon = activity-icon
activity_version = %(version)d