Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/datastore/datastore.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-10-09 11:15:06 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-10-09 11:15:06 (GMT)
commit6073a396b36c7d3da15ee361b601e94b010c6e92 (patch)
treee862e652c460ab193c558535f86316c687ff140c /sugar/datastore/datastore.py
parent57961d17bcb41d6606ea3c5293473b49da705d3c (diff)
Rename activity service_name to bundle_id
Diffstat (limited to 'sugar/datastore/datastore.py')
-rw-r--r--sugar/datastore/datastore.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/datastore/datastore.py b/sugar/datastore/datastore.py
index 7c1b57b..c82ab39 100644
--- a/sugar/datastore/datastore.py
+++ b/sugar/datastore/datastore.py
@@ -129,7 +129,7 @@ class DSObject(object):
if mime_type:
activities_info = activity.get_registry().get_activities_for_type(mime_type)
for activity_info in activities_info:
- if activity_info.service_name != self.metadata['activity']:
+ if activity_info.bundle_id != self.metadata['activity']:
activities.append(activity_info)
return activities
@@ -155,7 +155,7 @@ class DSObject(object):
if not bundle.is_installed():
bundle.install()
- activityfactory.create(bundle.get_service_name())
+ activityfactory.create(bundle.get_bundle_id())
else:
if not self.get_activities() and service_name is None:
logging.warning('No activity can open this object.')