diff options
-rwxr-xr-x | gui.py | 6 | ||||
-rw-r--r-- | text.py | 4 |
2 files changed, 10 insertions, 0 deletions
@@ -1138,6 +1138,12 @@ class InstallInterface: custom_buttons, custom_icon, run=True, parent=parent).getrc() return rc + def createRepoWindow(self, anaconda): + from task_gui import RepoCreator + dialog = RepoCreator(anaconda) + dialog.createDialog() + dialog.run() + def editRepoWindow(self, anaconda, repoObj): from task_gui import RepoEditor dialog = RepoEditor(anaconda, repoObj) @@ -352,6 +352,10 @@ class InstallInterface: return self.messageWindow(title, text, type, default, custom_icon, custom_buttons) + def createRepoWindow(self, anaconda): + self.messageWindow(_("Error"), + _("Repository editing is not available in text mode.")) + def editRepoWindow(self, anaconda, repoObj): self.messageWindow(_("Error"), _("Repository editing is not available in text mode.")) |