Remove redundant current-toolbar-changed signal from toolbar.Toolbar

This commit is contained in:
Aleksey Lim 2009-07-29 06:59:28 +00:00
parent ec474da5cc
commit b5c9509014

View File

@ -111,10 +111,6 @@ class ToolbarButton(ToolButton):
_paint_arrow(self, event, gtk.ARROW_DOWN)
class Toolbar(gtk.VBox):
__gsignals__ = {
'current-toolbar-changed': (SIGNAL_RUN_FIRST, TYPE_NONE, ([int]))
}
def __init__(self, padding=style.TOOLBOX_HORIZONTAL_PADDING):
gtk.VBox.__init__(self)
@ -133,9 +129,6 @@ class Toolbar(gtk.VBox):
self.__notebook.set_show_tabs(False)
self.__notebook.show()
self.__notebook.connect('notify::page', lambda notebook, pspec:
self.emit('current-toolbar-changed', notebook.props.page))
self.__top.connect('remove', self.__remove_cb)
top = property(lambda self: self.__top)