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

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



ack

On Tue, 2011-03-22 at 07:38 +0100, Ales Kozumplik wrote:
> 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."))

-- 
Martin Gracik <mgracik redhat com>


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