From 3bedd451e3e1e60c92fe4d888fcd2f2f43f7f50b Mon Sep 17 00:00:00 2001 From: Owen Williams Date: Thu, 18 Jan 2007 15:33:22 -0500 Subject: [PATCH] Fix redundancy --- shell/view/home/activitiesdonut.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/view/home/activitiesdonut.py b/shell/view/home/activitiesdonut.py index e8d096cb..c9d8664d 100644 --- a/shell/view/home/activitiesdonut.py +++ b/shell/view/home/activitiesdonut.py @@ -156,8 +156,7 @@ class ActivitiesDonut(hippo.CanvasBox, hippo.CanvasItem): return icon = self._activities[act_id] self.remove(icon) - act = self._activities[act_id] - act.cleanup() + icon.cleanup() del self._activities[act_id] def _add_activity(self, activity):