diff --git a/sugar/activity/activity.py b/sugar/activity/activity.py index 54ee52e8..b0196271 100644 --- a/sugar/activity/activity.py +++ b/sugar/activity/activity.py @@ -180,10 +180,10 @@ class EditToolbar(gtk.Toolbar): self.insert(self.redo, -1) self.redo.show() - separator = gtk.SeparatorToolItem() - separator.set_draw(True) - self.insert(separator, -1) - separator.show() + self.separator = gtk.SeparatorToolItem() + self.separator.set_draw(True) + self.insert(self.separator, -1) + self.separator.show() self.copy = ToolButton('edit-copy') self.copy.set_tooltip(_('Copy'))