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

Re: [PATCH 2/3] Display url having invalid prefix in repo editing dialog.



> diff --git a/iw/task_gui.py b/iw/task_gui.py
> index 067e6cd..1af4856 100644
> --- a/iw/task_gui.py
> +++ b/iw/task_gui.py
> @@ -223,6 +223,9 @@ class RepoEditor:
>  
>                  # find device in self.partitionComboBox and select it
>                  self.directoryChooser.set_current_folder("%s%s" % (self.anaconda.backend.ayum.isodir, path))
> +            else:
> +                self.baseurlEntry.set_text(url)
> +
>          else:
>              self.typeComboBox.set_active(0)
>              self.proxyCheckbox.set_active(False)

I think it's a little confusing to have the URL entry panel showing when
there's some (possibly non URL) invalid text in the box.  But it's
probably less confusing than showing nothing.

- Chris


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