From d35c19b6aaeb79df700bf063f4bf3d298c20bf7a Mon Sep 17 00:00:00 2001 From: Reinier Heeres Date: Tue, 18 Dec 2007 12:43:34 +0000 Subject: Allow activity up- and downgrades #4906, also fix #5382 --- (limited to 'shell') diff --git a/shell/view/frame/activitiestray.py b/shell/view/frame/activitiestray.py index 6f8e89e..3dbf955 100644 --- a/shell/view/frame/activitiestray.py +++ b/shell/view/frame/activitiestray.py @@ -129,7 +129,7 @@ class ActivitiesTray(hippo.CanvasBox): def _activity_removed_cb(self, activity_registry, activity_info): for item in self._tray.get_children(): - if item.get_bundle_id() == activity_info.service_name: + if item.get_bundle_id() == activity_info.bundle_id: self._tray.remove_item(item) return -- cgit v0.9.1