Allow activity up- and downgrades #4906, also fix #5382

This commit is contained in:
Reinier Heeres
2007-12-18 13:43:34 +01:00
parent b57ff156f7
commit d35c19b6aa
5 changed files with 54 additions and 7 deletions
+1 -1
View File
@@ -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