diff options
author | Marco 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) |
commit | 6073a396b36c7d3da15ee361b601e94b010c6e92 (patch) | |
tree | e862e652c460ab193c558535f86316c687ff140c /shell/view | |
parent | 57961d17bcb41d6606ea3c5293473b49da705d3c (diff) |
Rename activity service_name to bundle_id
Diffstat (limited to 'shell/view')
-rw-r--r-- | shell/view/frame/activitiestray.py | 4 | ||||
-rw-r--r-- | shell/view/frame/activitybutton.py | 2 | ||||
-rw-r--r-- | shell/view/home/MeshBox.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/shell/view/frame/activitiestray.py b/shell/view/frame/activitiestray.py index e2a89dd..6f8e89e 100644 --- a/shell/view/frame/activitiestray.py +++ b/shell/view/frame/activitiestray.py @@ -91,9 +91,9 @@ class ActivitiesTray(hippo.CanvasBox): while activity_list: info = activity_list.pop() - name_to_activity[info.service_name] = info + name_to_activity[info.bundle_id] = info - if info.service_name in self._config: + if info.bundle_id in self._config: known_activities.append(info) else: unknown_activities.append(info) diff --git a/shell/view/frame/activitybutton.py b/shell/view/frame/activitybutton.py index 93933fe..0595a55 100644 --- a/shell/view/frame/activitybutton.py +++ b/shell/view/frame/activitybutton.py @@ -47,7 +47,7 @@ class ActivityButton(TrayButton, gobject.GObject): self.setup_rollover_options() def get_bundle_id(self): - return self._activity_info.service_name + return self._activity_info.bundle_id def setup_rollover_options(self): palette = Palette(self._activity_info.name) diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py index fa51487..efc4513 100644 --- a/shell/view/home/MeshBox.py +++ b/shell/view/home/MeshBox.py @@ -274,7 +274,7 @@ class ActivityView(hippo.CanvasBox): del self._icons[key] def _clicked_cb(self, item): - bundle_id = self._model.get_service_name() + bundle_id = self._model.get_bundle_id() self._shell.join_activity(bundle_id, self._model.get_id()) class MeshBox(hippo.CanvasBox): |