Re: [newui] Populate the welcome spoke with translations

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

 



> @@ -47,18 +49,13 @@ class WelcomeLanguageSpoke(StandaloneSpoke):
>          completion.set_text_column(1)
>  
>          store = self.builder.get_object("languageStore")
> -        self._addLanguage(store, "English", "English", "en_US")
> -        self._addLanguage(store, "Language A", "Language A", "C")
> -        self._addLanguage(store, "Language B", "Language B", "C")
> -        self._addLanguage(store, "Language C", "Language C", "C")
> -        self._addLanguage(store, "Language D", "Language D", "C")
> -        self._addLanguage(store, "Language E", "Language E", "C")
> -        self._addLanguage(store, "Language F", "Language F", "C")
> -        self._addLanguage(store, "Language G", "Language G", "C")
> -        self._addLanguage(store, "Language H", "Language H", "C")
> -        self._addLanguage(store, "Language I", "Language I", "C")
> -        self._addLanguage(store, "Language J", "Language J", "C")
> -        self._addLanguage(store, "Language K", "Language K", "C")
> +
> +        # FIXME I think the following line should go somewhere else
> +        self.language = Language()

You could put it in __init__, but the populate method where it is now
only ever gets called once so it's all the same.

- 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