618 " the repository?"), |
618 " the repository?"), |
619 names) |
619 names) |
620 else: |
620 else: |
621 items = self.browser.getSelectedItems() |
621 items = self.browser.getSelectedItems() |
622 names = [itm.fileName() for itm in items] |
622 names = [itm.fileName() for itm in items] |
623 files = [name.replace(self.browser.project.ppath + os.sep, '') \ |
623 files = [self.browser.project.getRelativePath(name) \ |
624 for name in names] |
624 for name in names] |
625 |
625 |
626 dlg = DeleteFilesConfirmationDialog(self.parent(), |
626 dlg = DeleteFilesConfirmationDialog(self.parent(), |
627 self.trUtf8("Remove from repository only"), |
627 self.trUtf8("Remove from repository only"), |
628 self.trUtf8("Do you really want to remove these files" |
628 self.trUtf8("Do you really want to remove these files" |