498 if not name and not prefix: |
498 if not name and not prefix: |
499 raise RuntimeError("One of 'name' or 'prefix' must be given.") |
499 raise RuntimeError("One of 'name' or 'prefix' must be given.") |
500 |
500 |
501 if packages: |
501 if packages: |
502 dlg = DeleteFilesConfirmationDialog( |
502 dlg = DeleteFilesConfirmationDialog( |
503 self.parent(), |
503 self.__ui, |
504 self.tr("Uninstall Packages"), |
504 self.tr("Uninstall Packages"), |
505 self.tr( |
505 self.tr( |
506 "Do you really want to uninstall these packages and" |
506 "Do you really want to uninstall these packages and" |
507 " their dependencies?" |
507 " their dependencies?" |
508 ), |
508 ), |