'Loads the last visible toolbars from the .ini file.'

def load_toolbars(self):

    toolbars_names = CONF.get('main', 'last_visible_toolbars', default=[])
    if toolbars_names:
        dic = {}
        for toolbar in self.toolbars:
            dic[toolbar.objectName()] = toolbar
            toolbar.toggleViewAction().setChecked(False)
            toolbar.setVisible(False)
        for name in toolbars_names:
            if (name in dic):
                dic[name].toggleViewAction().setChecked(True)
                dic[name].setVisible(True)
