After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693775 - gnome-xkb-info: Add API to get layouts for language and country
gnome-xkb-info: Add API to get layouts for language and country
Status: RESOLVED FIXED
Product: gnome-desktop
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on: 693783
Blocks:
 
 
Reported: 2013-02-14 09:45 UTC by Rui Matos
Modified: 2013-02-19 11:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-xkb-info: Use GHashTable to group layouts per language/country (10.40 KB, patch)
2013-02-14 09:45 UTC, Rui Matos
committed Details | Review
gnome-xkb-info: Add API to get layouts for language and country (4.31 KB, patch)
2013-02-14 09:45 UTC, Rui Matos
committed Details | Review

Description Rui Matos 2013-02-14 09:45:15 UTC
.
Comment 1 Rui Matos 2013-02-14 09:45:17 UTC
Created attachment 236021 [details] [review]
gnome-xkb-info: Use GHashTable to group layouts per language/country

It turns out that we won't be able to always get the correct default
for a language/country pair from the raw xkeyboard-config data. Thus
we don't need the added complexity of using GSequence to keep layouts
sorted.
Comment 2 Rui Matos 2013-02-14 09:45:21 UTC
Created attachment 236022 [details] [review]
gnome-xkb-info: Add API to get layouts for language and country
Comment 3 Rui Matos 2013-02-19 11:23:38 UTC
Attachment 236021 [details] pushed as 009c7dc - gnome-xkb-info: Use GHashTable to group layouts per language/country
Attachment 236022 [details] pushed as b8d0b0f - gnome-xkb-info: Add API to get layouts for language and country