Commit graph

16 commits

Author SHA1 Message Date
Robert Ancell
223087cf39 common: sharing: Replace ifdefs with #pragma once 2018-06-01 21:41:34 +00:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Matthias Clasen
1ecd607bcb Move cc_add_user_language
Move it to cc-common-language.c and rename it
to cc_common_language_add_user_languages
2013-02-19 12:25:51 +01:00
Bastien Nocera
897243858f region: Reinstate the separator in the languages list
The separator went missing when we started adding the popular
languages to the list. Make it come back to separate the user
languages from the popular ones.
2012-12-11 09:15:55 +01:00
Matthias Clasen
a955ec4152 Switch files created by me to GPLv2+
This matches the rest of the control-center code base.
https://bugzilla.gnome.org/show_bug.cgi?id=683420
2012-09-06 19:07:09 -04:00
Matthias Clasen
9e02793982 common: Add a region mode to the language chooser
In this mode, locales are primarily represented by their
region component, instead of their language component.
2011-08-22 14:29:55 -04:00
Matthias Clasen
3f122250e1 common: Add api for region names
Similar to how we format language names, add a variant that
emphasizes the region part of a locale. We show the language
in parentheses as discriminator only where needed.
2011-08-22 14:29:54 -04:00
Matthias Clasen
be235bd9ae region: Redo the language tab
Prepopulate the list with a small set of 'common' languages,
as we already did in the user panel, and use a language chooser
to add to that list.
2011-08-22 14:29:53 -04:00
Matthias Clasen
3be36e735b Drop the sync language loading code
All users have been ported to use the async variant.
2011-02-23 23:43:16 -05:00
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
1edc17e126 common: Add API to select the current language 2011-01-26 18:40:41 +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
93832da41f user-accounts: Move more functions to common/ 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