GNOME Bugzilla – Bug 550721
UI improvement when adding a new layout
Last modified: 2009-02-14 13:56:46 UTC
When I open the add layout dialog, I'm presented with a nice window which is... not friendly because nothing is selected by default. It'd be nice to select a country by default (it'll be easier to select a language by default, I guess, but that would imply moving the language tab as first tab)
I dont mind moving language tab into the first position. Is there any standard universal way to figure out the language from the locale? Just taking first two letters of the $LANG envvar?
AFAIK, the format is: [language[_territory][.codeset][@modifier]]. You should use g_get_language_names() to get a list of locales that apply. (note that this change breaks the UI freeze, though, so you should either wait for 2.25 or ask release-team and gnome-doc-list for approval)
Can we still get this done for 2.26 ? People are filing bugs about the initial unselected state: https://bugzilla.redhat.com/show_bug.cgi?id=484518
Created attachment 128706 [details] [review] a patch Here is a patch that selects the first layout initially. Better than no selection at all.
Thanks, I am happy with that patch. I guess it does not break any freezes - it is just a fix.