Add gtype name to ToolbarBox for gtk css styling

This commit is contained in:
Sam Parkinson 2015-09-09 18:18:15 +10:00
parent 7c804354a0
commit f91da7b0f6

View File

@ -143,6 +143,8 @@ class ToolbarButton(ToolButton):
class ToolbarBox(Gtk.VBox): class ToolbarBox(Gtk.VBox):
__gtype_name__ = 'SugarToolbarBox'
def __init__(self, padding=style.TOOLBOX_HORIZONTAL_PADDING): def __init__(self, padding=style.TOOLBOX_HORIZONTAL_PADDING):
GObject.GObject.__init__(self) GObject.GObject.__init__(self)
self._expanded_button_index = -1 self._expanded_button_index = -1