[f19-branch][PATCH] Use nice names for environment in TUI software spoke (#971304)

Samantha N. Bueno sbueno+anaconda at redhat.com
Tue Jun 18 19:56:31 UTC 2013


---
 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



More information about the anaconda-patches mailing list