Commit graph

291 commits

Author SHA1 Message Date
Rui Matos
bc3307b492 Prevent potential segfault 2013-02-19 12:25:56 +01:00
Rui Matos
12ce8a7fd9 Fix code style issues 2013-02-19 12:25:56 +01:00
Piotr Drąg
8ed05f6315 region: Add context to ambiguous strings
It clashes with "Metric" as network parameters in Network panel.
2013-02-19 12:25:56 +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
75328b9013 region: Bind the per-window setting to both radio buttons
This makes the UI update automatically when the setting changes.
2013-02-19 12:25:55 +01:00
Rui Matos
4b7b194f4c region: Allow using multiple words to filter regions
All words must match.
2013-02-19 12:25:55 +01:00
Rui Matos
36ddfdd3fd region: Make region filtering smarter
We normalize both the filter string from the user and the region label
to disregard case and accents. Then we try to match the region label
on its native translation, the current LC_MESSAGES translation and
untranslated.
2013-02-19 12:25:55 +01:00
Rui Matos
dad492fbdd region: Plug memory leaks 2013-02-19 12:25:54 +01:00
Rui Matos
1dd14e7b29 region: Disregard being an initial region for sorting
Otherwise all the initial regions would show up grouped at the end of
the list when showing all entries.
2013-02-19 12:25:54 +01:00
Rui Matos
fbbb0b1fd8 Fix some memory leaks 2013-02-19 12:25:54 +01:00
Rui Matos
a0ba3bc4fc Adapt to gnome-languages API change 2013-02-19 12:25:54 +01:00
Rui Matos
faaa81ed53 region: Make alternate shortcut's label dim 2013-02-19 12:25:53 +01:00
Rui Matos
8740bf03c8 region: Fix input source rows selection getting lost 2013-02-19 12:25:53 +01:00
Rui Matos
5aa88834c0 Make sure all dialogs are modal 2013-02-19 12:25:53 +01:00
Rui Matos
80ddfe09da Remove two unused variables 2013-02-19 12:25:53 +01:00
Rui Matos
5a478734dc region: Remove unused .ui file 2013-02-19 12:25:53 +01:00
Rui Matos
34b5b2e6a8 region: Remove unused variable definition from Makefile 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
f40ef9d053 Set response id on format chooser
Now that we are check it is OK, not setting it is no longer OK.
2013-02-19 12:25:52 +01:00
Matthias Clasen
d1ed95292d Add restart notification 2013-02-19 12:25:52 +01:00
Matthias Clasen
35d920f1b8 Drop old code 2013-02-19 12:25:52 +01:00
Matthias Clasen
4f121592d7 Rename input chooser ui file 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
Allan Day
0ffb75f829 region: Update panel comments
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=694110
2013-02-19 10:41:43 +01:00
Piotr Drąg
3b54cd85bc region: Add context to ambiguous strings
It clashes with "Metric" as network parameters in Network panel.
2013-01-31 18:33:38 +01:00
Rui Matos
7221f9cd54 common: gdm-languages moved to gnome-desktop as gnome-languages
That code is useful for other core desktop modules.

https://bugzilla.gnome.org/show_bug.cgi?id=692414
2013-01-25 16:29:15 +01:00
Rui Matos
4f38c42785 region: Add UI for the per-window input sources setting
https://bugzilla.gnome.org/show_bug.cgi?id=684210
2013-01-10 15:31:44 +01:00
Cosimo Cecchi
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05: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
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
Rui Matos
4e3a2e1bd5 region: Update for the input source switching keybindings move
These are now provided by gsettings-desktop-schemas.

https://bugzilla.gnome.org/show_bug.cgi?id=690105
2012-12-18 16:56:22 +00:00
Bastien Nocera
e419ee7d4e panels: Remove unused X-GNOME-Settings-Panel key 2012-12-11 17:09:04 +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
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
5a2f836e74 region: Make 'Add' dialogs consistent
These dialogs had an inconsistent mix of bold window titles and
non-bold headings. Change them to all use window titles with similar
wording.
https://bugzilla.gnome.org/show_bug.cgi?id=684829
2012-12-10 15:25:15 +01:00
Bastien Nocera
69d7f7a726 region: Remove dead button
The button hasn't ever been hooked to anything. Let's remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=684864

Conflicts:
	panels/region/gnome-region-panel.ui
2012-12-10 15:17:01 +01:00
Jeremy Bicha
c50a11c0dc region: Use the proper Unicode ellipsis (…) instead of three dots
https://bugzilla.gnome.org/show_bug.cgi?id=689497
2012-12-03 09:13:01 -05:00
Mathieu Bridon
b614b6959e region: Add the "Input" keyword to the panel
https://bugzilla.gnome.org/show_bug.cgi?id=689013
2012-11-27 10:49:21 +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