[master][PATCH] Return switching options with the same order as shown (#1011130)

Chris Lumens clumens at redhat.com
Tue Sep 24 20:20:35 UTC 2013


> diff --git a/pyanaconda/ui/gui/spokes/keyboard.py b/pyanaconda/ui/gui/spokes/keyboard.py
> index d35eb2f..a943d1f 100644
> --- a/pyanaconda/ui/gui/spokes/keyboard.py
> +++ b/pyanaconda/ui/gui/spokes/keyboard.py
> @@ -238,7 +238,7 @@ class ConfigureSwitchingDialog(GUIObject):
>      def checked_options(self):
>          """Property returning all checked options from the list"""
>  
> -        ret = [row[0] for row in self._switchingOptsStore if row[1] and row[0]]
> +        ret = [row[0] for row in self._switchingOptsSort if row[1] and row[0]]
>          return ret
>  
>      def on_use_option_toggled(self, renderer, path, *args):

Good idea.

- Chris


More information about the anaconda-patches mailing list