Expose the separator in the edit toolbar so it can be hidden by activities.
This commit is contained in:
parent
ce3f3e9be9
commit
9858a190fd
@ -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'))
|
||||||
|
Loading…
Reference in New Issue
Block a user