Commit graph

41 commits

Author SHA1 Message Date
Rui Matos
9c64f316b1 region: Show restart notification only if strictly needed
If the user is changing the setting back to the current locale we
shouldn't show the restart notification.

https://bugzilla.gnome.org/show_bug.cgi?id=695534
2013-03-14 16:52:51 +01:00
Rui Matos
50ea2c11ce region: Use a GDBusProxy to access org.gnome.SessionManager
We'll use this interface beyond just calling Logout() so lets keep a
proxy around.

https://bugzilla.gnome.org/show_bug.cgi?id=695534
2013-03-14 16:52:51 +01:00
Rui Matos
3efb71bab7 region: Cancel any async operations with callbacks on finalize
Otherwise we may end up using a finalized "object" in the callbacks.

https://bugzilla.gnome.org/show_bug.cgi?id=695534
2013-03-14 16:52:51 +01:00
Rui Matos
e2163ea9ed region: Translate restart notification into the target language
We used to do this before the panel re-design.

https://bugzilla.gnome.org/show_bug.cgi?id=695534
2013-03-14 16:52:51 +01:00
Rui Matos
bbc28af85d region: Display current locale country in formats if setting is empty
https://bugzilla.gnome.org/show_bug.cgi?id=694888
2013-03-14 16:52:51 +01:00
Rui Matos
3a51c94281 region: Remove the "None" input source row when adding a real one
https://bugzilla.gnome.org/show_bug.cgi?id=694887
2013-03-12 15:21:15 +01:00
Rui Matos
4eb0a72d86 region: Improve explanation when there are no input sources
https://bugzilla.gnome.org/show_bug.cgi?id=694887
2013-03-12 15:21:14 +01:00
Rui Matos
4b09dd843f region: Prevent window from getting too tall with many input sources
https://bugzilla.gnome.org/show_bug.cgi?id=695443
2013-03-12 15:21:12 +01:00
Bastien Nocera
de1b612cc0 region: Fix crash when changing the language
1. Load region panel
2. Change language
3. Go back to overview
4. Load region panel
5. Change language
6. Crash

As the ActUser and ActUserManager object aren't reference counted,
we need to disconnect the signals ourselves when exiting the panel
otherwise we'll receive the signals from the old signal connection,
which will use the old panel object.
2013-02-20 14:53:41 +01:00
Rui Matos
80e7738210 region: Dim the icons on IBus input source rows 2013-02-19 12:25:56 +01:00
Rui Matos
2b07d810aa region: New 'Add Input Source' dialog design 2013-02-19 12:25:55 +01:00
Rui Matos
00da5a115f region: Don't add duplicate input sources 2013-02-19 12:25:55 +01:00
Rui Matos
29e0f0b28a region: Show/hide IBus sources config button
Instead of just making it sensitive/unsensitive. Quoting from the bug
report:

The problem is that it isn't clear to the user why the settings button is
insensitive for keyboard layouts - they'll be asking "why can't I ever use the
settings?"

https://bugzilla.gnome.org/show_bug.cgi?id=692006
2013-02-19 12:25:55 +01:00
Rui Matos
c87d588378 region: Remove the IBus engines whitelist
And just blacklist IBus' "xkb:" engines which basically duplicate all
the XKB layouts.
2013-02-19 12:25:55 +01:00
Rui Matos
eaa8dd80ee region: Fix un-ifdef'd usage of IBus specific variables 2013-02-19 12:25:55 +01:00
Rui Matos
a0ba3bc4fc Adapt to gnome-languages API change 2013-02-19 12:25:54 +01:00
Rui Matos
8740bf03c8 region: Fix input source rows selection getting lost 2013-02-19 12:25:53 +01:00
Matthias Clasen
188f3d1658 Acceptable behaviour in localed-less situations
We show the 'None' as login screen settings, and the entire page
is made insensitive.
2013-02-19 12:25:53 +01:00
Matthias Clasen
b2148043d7 Implement the login page
We are now saving language and layout information to logind.
2013-02-19 12:25:53 +01:00
Matthias Clasen
b47b4afb83 region: Show a Login Screen button when multi-user
The button doesn't do anything yet.
2013-02-19 12:25:53 +01:00
Matthias Clasen
4262cb39d5 Use libaccountsservice
Beats talking dbus directly to the service, and we will
make more use of this in later commits.
2013-02-19 12:25:52 +01:00
Matthias Clasen
d1ed95292d Add restart notification 2013-02-19 12:25:52 +01:00
Matthias Clasen
d3852fc831 Wip: new region panel
Still missing:
- restart session notification
- login screen mode
2013-02-19 12:25:52 +01:00
Matthias Clasen
148e311aa6 Wip region 2013-02-19 12:25:51 +01:00
Cosimo Cecchi
887c3ae3d5 region: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:16 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04:00
Rui Matos
0fb0d6139b region: Removal of the Layouts tab
https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:38 +01:00
Rui Matos
bfaeb6a41d region: Add an initial input sources tab
This is just the scaffolding according to
https://live.gnome.org/Design/SystemSettings/RegionAndLanguage
No code behind it yet.

Original code from Matthias Clasen.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:37 +01:00
Florian Müllner
79b11894dd region: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:38 +02:00
Bastien Nocera
d8b9fc9c5d region: Add ability to switch pages 2011-09-08 17:23:10 +01:00
Rodrigo Moya
81945e7a54 region: Add System tab 2011-07-04 13:59:45 +02:00
Rodrigo Moya
68763a928b region: Add code to manage the new Formats tab 2011-06-14 19:02:54 +02:00
Bastien Nocera
a2fa77302b region: Fix memleak on error 2011-02-21 19:18:34 +00:00
Bastien Nocera
45ad8a6c64 region: Tweak the layouts tab UI 2011-01-27 14:46:50 +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
0c8dd1aebc region: Fix memory leaks and destroy dialogue properly
There's no top-level dialogue any more, so we need some way to
clean up after ourselves.
2011-01-24 18:10:09 +00:00
Bastien Nocera
cc172a4754 region: Remove unused finalize function 2011-01-24 18:10:09 +00:00
Bastien Nocera
a7519f8340 region: Remove useless level of indirection
Clean up that mess of a code somewhat.
2011-01-21 18:06:26 +00:00
William Jon McCann
733f0ce3e2 [region] Rename old Keyboard panel to Region
Will make keybindings the new keyboard panel
2010-10-31 23:42:04 -04:00
Renamed from panels/keyboard/cc-keyboard-panel.c (Browse further)