Commit graph

264 commits

Author SHA1 Message Date
Matthias Clasen
012c52f4f5 Add an async variant of language loading
This just code loads one language at a time in an idle,
to avoid blocking the UI for a long time. The function returns
the id of the sources, so you can just call g_source_remove()
if you don't need the languages anymore (e.g if the user goes
to another panel before the list is fully populated).

https://bugzilla.gnome.org/show_bug.cgi?id=643096
2011-02-24 03:12:19 +00:00
Bastien Nocera
3574d8f882 common: Move eggaccelerators to common/
So we can share it with the universal-access panel.
2011-02-23 15:40:46 +00:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Bastien Nocera
40e2c9eed4 common: Load language names for locales with 3 letters
If software with "Chhattisgarhi" translations was loaded (such
as k3b), we would fail to load the language name for it, as we
were not parsing the ISO-639-3 database.

https://bugzilla.gnome.org/show_bug.cgi?id=641373
2011-02-03 19:11:02 +00:00
Yanko Kaneti
7cfa641feb Avoid using locales without language names.
Quick and dirty fix for not using all the iso-codes resources for
finding a suitable language name for a locale.
2011-02-03 18:35:29 +00:00
Bastien Nocera
1edc17e126 common: Add API to select the current language 2011-01-26 18:40:41 +00:00
Bastien Nocera
e48c04a092 common: Remove debug 2011-01-25 18:45:03 +00:00
Bastien Nocera
f7f1b4c073 user-accounts: Move more of the treeview setup to common/
Make more of the code common one, so we can re-use it for
the region panel. Show the user's current locale first, as well
as the list of languages used by other users, followed by a separator.
2011-01-25 17:09:10 +00:00
Bastien Nocera
9229ab875e user-accounts: Move um_get_current_language to common/ 2011-01-24 18:26:00 +00:00
Bastien Nocera
dd9be3f2be common: Add panel name 2011-01-24 18:23:35 +00:00
Bastien Nocera
93832da41f user-accounts: Move more functions to common/ 2011-01-24 18:20:54 +00:00
Bastien Nocera
e2dafa4169 common: Add missing Makefile.am 2011-01-24 18:20:54 +00:00
Bastien Nocera
5dd0a8c47a user-accounts: Move um_get_iter_for_language to common/
More sharing
2011-01-24 18:20:53 +00:00
Bastien Nocera
930540ea28 user-accounts: Move gdm-languages to common/
Move gdm-languages and some of the helper functions to common/,
so that we can share it with the region panel.
2011-01-24 18:10:10 +00:00