Re: [PATCH 1/2] Try to get layout name for layout description not for 'language (description)'

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

 



> diff --git a/pyanaconda/ui/gui/spokes/keyboard.py b/pyanaconda/ui/gui/spokes/keyboard.py
> index 0230203..f649961 100644
> --- a/pyanaconda/ui/gui/spokes/keyboard.py
> +++ b/pyanaconda/ui/gui/spokes/keyboard.py
> @@ -137,9 +137,9 @@ class KeyboardSpoke(NormalSpoke):
>          NormalSpoke.initialize(self)
>  
>          self._store = self.builder.get_object("addedLayoutStore")
> -        self._addLayout(self._store, "English (US)")
> -        self._addLayout(self._store, "Irish")
> -        self._addLayout(self._store, "English (US, with some other stuff)")
> +        self._addLayout(self._store, "English (English (US))")
> +        self._addLayout(self._store, "English (Irish)")
> +        self._addLayout(self._store, "Czech (Czech (qwerty))")
>  
>      def refresh(self):
>          NormalSpoke.refresh(self)

If you're working on this function, it's probably time to remove the
placeholders and have the UI use real values by default.  Use either the
keyboard specified by ksdata, or the "main" one for whatever the
language is and don't put anything else into the store.

Everything else looks fine.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux