Commit graph

21 commits

Author SHA1 Message Date
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
Bastien Nocera
188329a0be region: Avoid resizing when showing the logout button 2012-11-23 19:05:24 +01:00
Bastien Nocera
41c56ba6bb region: Make locale comparison quicker
No need to hit D-Bus every time.
2012-11-23 18:58:02 +01:00
Bastien Nocera
96247c6187 region: And remember to show the logout button if launched again
https://bugzilla.gnome.org/show_bug.cgi?id=647373
2012-11-23 18:51:49 +01:00
Bastien Nocera
4099b547a7 region: Don't offer logout button if we revert the language
If the language selected is the language that was originally
the session language, don't offer to log out.

https://bugzilla.gnome.org/show_bug.cgi?id=647373
2012-11-23 18:28:07 +01:00
Bastien Nocera
1cfc4693c4 region: Use log out button in future language
https://bugzilla.gnome.org/show_bug.cgi?id=647373
2012-11-23 17:52:38 +01:00
Adel Gadllah
fca58d0e59 region: Offer logout option after changing language
https://bugzilla.gnome.org/show_bug.cgi?id=647373
2012-11-23 17:50:27 +01:00
Matthias Clasen
1538ab4c79 region: Ensure the system tab is updated
When the region setting is unset, we need to update the
region on the system tab also when the language changes.
2011-08-22 14:29:57 -04:00
Matthias Clasen
68c7654dfb region: show fewer regions
Rework the region list to only show regions 'matching' the current
language, and add a region chooser dialog that offers the full set.
2011-08-22 14:29:56 -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
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
3e25e3d213 Region: load languages async
https://bugzilla.gnome.org/show_bug.cgi?id=643096
2011-02-24 03:12:23 +00:00
Bastien Nocera
01a95b5fc8 region: Remove unused variable 2011-01-28 20:02:33 +00:00
Bastien Nocera
4f43c11d84 region: Don't assert when language is empty
Some users in the accounts service won't have any languages set,
so avoid crashing in that case.
2011-01-28 20:01:35 +00:00
Bastien Nocera
8a2f45992f region: Implement setting the user language
And clean up the accounts service proxy when done.
2011-01-27 12:41:14 +00:00
Bastien Nocera
8f29da02e2 region: Select the current session language 2011-01-26 18:41:34 +00:00
Bastien Nocera
c01c4b2cb2 region: Load languages from other users
Using the accounts service.
2011-01-26 18:22:55 +00:00
Bastien Nocera
395e310512 region: Populate the language list
Using the new common/ helper functions.
2011-01-25 18:45:03 +00:00
Bastien Nocera
dbc6f5a6b9 region: Add stubs for language tab code 2011-01-24 18:35:21 +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