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

def load_last_visible_toolbars(self):

    toolbars_names = CONF.get('main', 'last_visible_toolbars', default=[])
    if toolbars_names:
        dic = {}
        for toolbar in self.toolbarslist:
            dic[toolbar.objectName()] = toolbar
        toolbars = []
        for name in toolbars_names:
            if (name in dic):
                toolbars.append(dic[name])
        self.visible_toolbars = toolbars
    else:
        self.get_visible_toolbars()
    self._update_show_toolbars_action()
