From d4cbd4150eef8f5e7be1866cb8c158c0621a7a0c Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Mon, 13 Jul 2009 18:34:02 +0000 Subject: [PATCH] Support legacy stop button in ActivityToolbar --- src/sugar/activity/activity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sugar/activity/activity.py b/src/sugar/activity/activity.py index fb523a90..692b537e 100644 --- a/src/sugar/activity/activity.py +++ b/src/sugar/activity/activity.py @@ -143,8 +143,8 @@ class ActivityToolbar(gtk.Toolbar): self.keep.show() if not hide_stop: - stop = stop_button(activity) - self.insert(stop, -1) + self.stop = stop_button(activity) + self.insert(self.stop, -1) self._update_title_sid = None