'Add toolbars to a menu.'

def add_toolbars_to_menu(self, menu_title, actions):

    view_menu = self.menus[6]
    if ((actions == self.toolbars) and view_menu):
        toolbars = []
        for toolbar in self.toolbars:
            action = toolbar.toggleViewAction()
            toolbars.append(action)
        add_actions(view_menu, toolbars)
