'Update path list'

def update_list(self):

    self.listwidget.clear()
    for name in (self.pathlist + self.ro_pathlist):
        item = QListWidgetItem(name)
        item.setIcon(ima.icon('DirClosedIcon'))
        if (name in self.ro_pathlist):
            item.setFlags(Qt.NoItemFlags)
        self.listwidget.addItem(item)
    self.refresh()
