From 9858a190fdbb5963125849111588a61c22bc7d7f Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 7 Sep 2007 18:08:48 +0200 Subject: [PATCH] Expose the separator in the edit toolbar so it can be hidden by activities. --- sugar/activity/activity.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'))