From 6073a396b36c7d3da15ee361b601e94b010c6e92 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 09 Oct 2007 11:15:06 +0000 Subject: Rename activity service_name to bundle_id --- (limited to 'sugar/activity/registry.py') diff --git a/sugar/activity/registry.py b/sugar/activity/registry.py index b873821..a279aa9 100644 --- a/sugar/activity/registry.py +++ b/sugar/activity/registry.py @@ -29,15 +29,15 @@ def _activity_info_from_dict(info_dict): if not info_dict: return None return ActivityInfo(info_dict['name'], info_dict['icon'], - info_dict['service_name'], info_dict['path'], + info_dict['bundle_id'], info_dict['path'], info_dict['show_launcher'], info_dict['command']) class ActivityInfo(object): - def __init__(self, name, icon, service_name, + def __init__(self, name, icon, bundle_id, path, show_launcher, command): self.name = name self.icon = icon - self.service_name = service_name + self.bundle_id = bundle_id self.path = path self.command = command self.show_launcher = show_launcher -- cgit v0.9.1