[f19-branch][PATCH] Use nice names for environment in TUI software spoke (#971304)
Brian C. Lane
bcl at redhat.com
Tue Jun 18 20:24:50 UTC 2013
On Tue, Jun 18, 2013 at 03:56:31PM -0400, Samantha N. Bueno wrote:
> ---
> pyanaconda/ui/tui/spokes/software.py | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/pyanaconda/ui/tui/spokes/software.py b/pyanaconda/ui/tui/spokes/software.py
> index f8b3c87..63f5473 100644
> --- a/pyanaconda/ui/tui/spokes/software.py
> +++ b/pyanaconda/ui/tui/spokes/software.py
> @@ -114,7 +114,9 @@ class SoftwareSpoke(NormalTUISpoke):
>
> displayed = []
> for env in environments:
> - displayed.append(CheckboxWidget(title="%s" % env, completed=(environments.index(env) == self._selection)))
> + (name, desc) = self.payload.environmentDescription(env)
> +
> + displayed.append(CheckboxWidget(title="%s" % name, completed=(environments.index(env) == self._selection)))
> print(_("Choose a desktop environment."))
>
> def _prep(i, w):
> --
> 1.7.11.7
Ack
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130618/51b8a6c2/attachment.sig>
More information about the anaconda-patches
mailing list