[master][PATCH] Make Keyboard spoke's status consistent with other statuses (#1011166)

Chris Lumens clumens at redhat.com
Tue Sep 24 19:26:07 UTC 2013


> diff --git a/pyanaconda/ui/gui/spokes/keyboard.py b/pyanaconda/ui/gui/spokes/keyboard.py
> index 7c575d8..ffab6da 100644
> --- a/pyanaconda/ui/gui/spokes/keyboard.py
> +++ b/pyanaconda/ui/gui/spokes/keyboard.py
> @@ -298,7 +298,9 @@ class KeyboardSpoke(NormalSpoke):
>      @property
>      def status(self):
>          # We don't need to check that self._store is empty, because that isn't allowed.
> -        return self._xkl_wrapper.get_layout_variant_description(self._store[0][0])
> +        descriptions = (self._xkl_wrapper.get_layout_variant_description(row[0])
> +                        for row in self._store)
> +        return ", ".join(descriptions)
>  
>      def initialize(self):
>          NormalSpoke.initialize(self)

Looks good.

- Chris


More information about the anaconda-patches mailing list