Rui Matos
243b3062dc
region: Make sure not to display an empty input sources list
...
Just like the system settings, the user's settings might be empty
because some other component failed before us. Still, we shouldn't
show an empty list since that looks broken.
https://bugzilla.gnome.org/show_bug.cgi?id=701871
2013-06-17 17:22:34 +02:00
Rui Matos
cdc4bfe3a9
region: Set button arrow icons according to locale's text direction
...
https://bugzilla.gnome.org/show_bug.cgi?id=700543
2013-06-05 11:27:33 +02:00
Rui Matos
cf2399e978
region: Show the XKB option for the input source switch shortcut
...
Mutter now uses the "grp" XKB option to implement a special
modifiers-only shortcut use by gnome-shell to switch input sources.
https://bugzilla.gnome.org/show_bug.cgi?id=700346
2013-05-27 10:23:30 +02:00
Rui Matos
1f03f33230
Remove the input-source-switcher setting
...
Mutter now has a special modifiers-only shortcut used by gnome-shell
to switch input sources which no longer uses this setting.
This reverts commit ae3014ba3e
.
This reverts commit 77b7569c3d
.
https://bugzilla.gnome.org/show_bug.cgi?id=700346
2013-05-27 10:23:26 +02:00
Matthias Clasen
16c2a04e5e
Add context to some translated strings
...
We are using "Other" in various contexts that may require
different translations.
https://bugzilla.gnome.org/show_bug.cgi?id=697211
2013-05-18 18:05:18 -04:00
Rui Matos
7262670c7a
region: Rate limit the input chooser filtering
...
Acting on every keystroke makes the UI sluggish given the number of
widgets we have so let's rate limit this to a reasonable frequency
that still feels responsive.
https://bugzilla.gnome.org/show_bug.cgi?id=695466
2013-05-13 17:02:57 +02:00
Rui Matos
561c68674b
region: Stop focusing the input chooser entry if already focused
...
Since doing so selects the entry's text and thus is prone to cause
accidental deletion.
https://bugzilla.gnome.org/show_bug.cgi?id=695466
2013-05-13 17:02:55 +02:00
Rui Matos
0b7479572e
Revert "Revert "Use a common definition for modifier-only keybindings array""
...
This reverts commit 34906dba27
.
2013-05-13 16:26:01 +02:00
Rui Matos
0d064f1b01
Revert "wip remove input-sources-switcher label"
...
This reverts commit 8a76727604
.
2013-05-13 16:25:39 +02:00
Rui Matos
017fbbc0e6
region: Don't crash if the user disabled IS switch keybindings
...
A 0 length string for a keybinding means it is disabled so the whole
adding <Shift> magic to the backward accelerator string is pointless
anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=700176
2013-05-13 16:22:07 +02:00
Rui Matos
8a76727604
wip remove input-sources-switcher label
2013-05-13 16:22:00 +02:00
Rui Matos
34906dba27
Revert "Use a common definition for modifier-only keybindings array"
...
This reverts commit ae3014ba3e
.
2013-05-13 16:22:00 +02:00
Kalev Lember
e31eee4294
region: Add missing semicolons to desktop files
...
https://bugzilla.gnome.org/show_bug.cgi?id=696806
2013-04-16 11:15:13 +02:00
Rui Matos
2822e04a89
region: Fix setting the system language
...
We need to actually change the variable holding the system language so
that it gets applied.
https://bugzilla.gnome.org/show_bug.cgi?id=694922
2013-04-15 11:53:27 +02:00
Rui Matos
6154170bb3
region: Apply user settings system-wide on single account systems
...
On single account systems we don't show the login button but the user
should still be able to set system-wide locale settings. We can simply
export the user's own settings to the system in that case.
https://bugzilla.gnome.org/show_bug.cgi?id=694922
2013-04-15 11:53:27 +02:00
Rui Matos
24bb46eb44
region: Keep format chooser labels centered
...
In order to prevent the labels from moving around when hiding and
showing the check mark we need to keep the check mark always visible
and instead tweak its opacity.
We also add an always transparent widget the same size as the check
mark on the other side of the label to make sure that the label is
globally centered.
https://bugzilla.gnome.org/show_bug.cgi?id=695536
2013-04-15 11:53:27 +02:00
Rui Matos
3af7efc5aa
region: Fix format chooser check marks being cleared
...
https://bugzilla.gnome.org/show_bug.cgi?id=695536
2013-04-15 11:53:27 +02:00
Rui Matos
639a2e4ada
region: Center labels and remove arrows on the input chooser dialog
...
https://bugzilla.gnome.org/show_bug.cgi?id=695520
2013-04-15 11:53:27 +02:00
Rui Matos
d7cecdca2f
region: Use view-more-symbolic for the "More" list item
...
We've had some early reports that the ellipsis used to label the
"More" item in some of the lists isn't clear.
https://bugzilla.gnome.org/show_bug.cgi?id=694927
2013-04-15 11:53:27 +02:00
Rui Matos
ee9dc7a176
region: Add separators to the input chooser list
...
https://bugzilla.gnome.org/show_bug.cgi?id=695465
2013-04-15 11:53:27 +02:00
Rui Matos
1858a818c4
region: Add separators to the format chooser list
...
https://bugzilla.gnome.org/show_bug.cgi?id=695465
2013-04-15 11:53:27 +02:00
Rui Matos
b405db0068
region: Normalize and casefold the untranslated language name
...
So that it actually matches with the normalized and casefolded filter
words.
https://bugzilla.gnome.org/show_bug.cgi?id=695357
2013-03-14 17:17:47 +01:00
Rui Matos
d515aabbf1
region: Remove useless parameter
...
locald settings are system settings by definition so we can just use
priv->system_language directly.
https://bugzilla.gnome.org/show_bug.cgi?id=695535
2013-03-14 17:14:20 +01:00
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
Rui Matos
765b6b52a7
region: Always add ibus engine widgets regardless of locale info
...
This makes sure any engine we don't have locale info for ends up under
the Other row.
https://bugzilla.gnome.org/show_bug.cgi?id=695049
2013-03-11 13:46:23 +01:00
Rui Matos
771664ac50
region: Factor out adding source widgets code
...
https://bugzilla.gnome.org/show_bug.cgi?id=695049
2013-03-11 13:46:19 +01:00
William Jon McCann
142d28c375
region: Make format chooser centered
...
https://bugzilla.gnome.org/show_bug.cgi?id=694323
2013-02-26 15:07:46 +01:00
Ángel Guzmán Maeso
422542d5a0
region: Fix warnings about uninitialized variables
...
In cc-input-chooser.c
https://bugzilla.gnome.org/show_bug.cgi?id=694362
2013-02-21 17:08:25 +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
ae3014ba3e
Use a common definition for modifier-only keybindings array
2013-02-19 12:25:56 +01:00
Rui Matos
ef4576b4f4
Check gtk_builder_add_from_resource() return value
2013-02-19 12:25:56 +01:00
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