From 5a7b7d11bacc1fe6e9284341e71a09c82a043ced Mon Sep 17 00:00:00 2001 From: Ales Kozumplik Date: Mar 22 2011 17:47:35 +0000 Subject: gui.py: nuke createRepoWindow() No one ever used it. --- diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py index e053989..e4d6925 100755 --- a/pyanaconda/gui.py +++ b/pyanaconda/gui.py @@ -1072,12 +1072,6 @@ class InstallInterface(InstallInterfaceBase): rc = ReinitializeWindow(title, path, size, description, parent=parent).getrc() return rc - def createRepoWindow(self): - from iw.task_gui import RepoCreator - dialog = RepoCreator(self.anaconda) - dialog.createDialog() - dialog.run() - def editRepoWindow(self, repoObj): from iw.task_gui import RepoEditor dialog = RepoEditor(self.anaconda, repoObj) diff --git a/pyanaconda/text.py b/pyanaconda/text.py index cbf1ebc..a5dd1a5 100644 --- a/pyanaconda/text.py +++ b/pyanaconda/text.py @@ -375,10 +375,6 @@ class InstallInterface(InstallInterfaceBase): return self.messageWindow(title, text, type, default, custom_icon, custom_buttons) - def createRepoWindow(self): - self.messageWindow(_("Error"), - _("Repository editing is not available in text mode.")) - def editRepoWindow(self, repoObj): self.messageWindow(_("Error"), _("Repository editing is not available in text mode."))