[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[master 2/2] gui.py: nuke createRepoWindow()



No one ever used it.
---
 pyanaconda/gui.py  |    6 ------
 pyanaconda/text.py |    4 ----
 2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
index 3bc557e..de08977 100755
--- a/pyanaconda/gui.py
+++ b/pyanaconda/gui.py
@@ -1075,12 +1075,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 17e3911..65dd2ee 100644
--- a/pyanaconda/text.py
+++ b/pyanaconda/text.py
@@ -380,10 +380,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."))
-- 
1.7.3.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]