summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgui.py6
-rw-r--r--text.py4
2 files changed, 10 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 80ee0ab71..b3620ab02 100755
--- a/gui.py
+++ b/gui.py
@@ -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)
diff --git a/text.py b/text.py
index 2cc427d1c..298a201ca 100644
--- a/text.py
+++ b/text.py
@@ -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."))