979 |
979 |
980 project = ericApp().getObject("Project") |
980 project = ericApp().getObject("Project") |
981 names = [project.getRelativePath(nam) for nam in names] |
981 names = [project.getRelativePath(nam) for nam in names] |
982 if names[0]: |
982 if names[0]: |
983 dlg = DeleteFilesConfirmationDialog( |
983 dlg = DeleteFilesConfirmationDialog( |
984 self.parent(), |
984 self.__ui, |
985 self.tr("Revert changes"), |
985 self.tr("Revert changes"), |
986 self.tr( |
986 self.tr( |
987 "Do you really want to revert all changes to these files" |
987 "Do you really want to revert all changes to these files" |
988 " or directories?" |
988 " or directories?" |
989 ), |
989 ), |