Expose the separator in the edit toolbar so it can be hidden by activities.

This commit is contained in:
Tomeu Vizoso 2007-09-07 18:08:48 +02:00
parent ce3f3e9be9
commit 9858a190fd

View File

@ -180,10 +180,10 @@ class EditToolbar(gtk.Toolbar):
self.insert(self.redo, -1) self.insert(self.redo, -1)
self.redo.show() self.redo.show()
separator = gtk.SeparatorToolItem() self.separator = gtk.SeparatorToolItem()
separator.set_draw(True) self.separator.set_draw(True)
self.insert(separator, -1) self.insert(self.separator, -1)
separator.show() self.separator.show()
self.copy = ToolButton('edit-copy') self.copy = ToolButton('edit-copy')
self.copy.set_tooltip(_('Copy')) self.copy.set_tooltip(_('Copy'))