def change_path(self, path=None, selected=None): """Change file list path.""" if path is not None and not path.startswith('trash:'): path = self.get_provider().get_root_path(None) FileList.change_path(self, path, selected)
def change_path(self, path=None, selected=None): """Change file list path.""" if path is not None and not path.startswith('trash://'): path = 'trash:///' FileList.change_path(self, path, selected)