Commit graph

217 commits

Author SHA1 Message Date
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
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
Bastien Nocera
e0260ac5de region: Revert "Don't use IBus if running in fallback mode"
As the fallback mode is going away. #fallback

This reverts commit 658083fffa.

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

Conflicts:
	panels/region/gnome-region-panel-input.c
2012-11-09 16:05:44 +01:00
Bastien Nocera
74c407d8e1 region: Revert "Use a filter model on input sources"
As the fallback mode is going away. #fallback

This reverts commit dee8e0917a.

https://bugzilla.gnome.org/show_bug.cgi?id=682871
2012-11-09 16:05:40 +01:00
Bastien Nocera
e264df66b1 region: Fix possible crasher on startup
When the X11Variant localed property was empty, variants[i] was
being checked even though only variants[0] was defined (an empty
string).

==17035== Invalid read of size 8
==17035==    at 0x26B9529A: on_localed_properties_changed (gnome-region-panel-system.c:339)
==17035==    by 0x26B95546: localed_proxy_ready (gnome-region-panel-system.c:381)
==17035==    by 0x8CA2589: g_simple_async_result_complete (gsimpleasyncresult.c:775)
==17035==    by 0x8CA25BB: complete_in_idle_cb (gsimpleasyncresult.c:787)
==17035==    by 0x94B8ED4: g_idle_dispatch (gmain.c:4806)
==17035==    by 0x94B6890: g_main_dispatch (gmain.c:2715)
==17035==    by 0x94B7440: g_main_context_dispatch (gmain.c:3219)
==17035==    by 0x94B7623: g_main_context_iterate (gmain.c:3290)
==17035==    by 0x94B76E7: g_main_context_iteration (gmain.c:3351)
==17035==    by 0x8CDB1A1: g_application_run (gapplication.c:1620)
==17035==    by 0x4083C6: main (control-center.c:256)
==17035==  Address 0x13b92e18 is 0 bytes after a block of size 8 alloc'd
==17035==    at 0x4A0883C: malloc (vg_replace_malloc.c:270)
==17035==    by 0x94BE97B: standard_malloc (gmem.c:85)
==17035==    by 0x94BEA04: g_malloc (gmem.c:159)
==17035==    by 0x94BED2F: g_malloc_n (gmem.c:400)
==17035==    by 0x94DB26A: g_strsplit (gstrfuncs.c:2281)
==17035==    by 0x26B95169: on_localed_properties_changed (gnome-region-panel-system.c:319)
==17035==    by 0x26B95546: localed_proxy_ready (gnome-region-panel-system.c:381)
==17035==    by 0x8CA2589: g_simple_async_result_complete (gsimpleasyncresult.c:775)
==17035==    by 0x8CA25BB: complete_in_idle_cb (gsimpleasyncresult.c:787)
==17035==    by 0x94B8ED4: g_idle_dispatch (gmain.c:4806)
==17035==    by 0x94B6890: g_main_dispatch (gmain.c:2715)
==17035==    by 0x94B7440: g_main_context_dispatch (gmain.c:3219)
2012-11-05 09:37:55 +01:00
Jeremy Bicha
e32494f2f0 Show Printers & Region panels in Unity but hide Background
Ubuntu plans to fork a separate Appearance panel this cycle so
that Gnomebuntu can use the GNOME Background panel.

I believe Ubuntu will try to use the Printers and Region & Language
panels instead of system-config-printer & language-selector

https://bugzilla.gnome.org/show_bug.cgi?id=687258
2012-10-31 06:50:05 -04:00
Rui Matos
8f0091c2c9 region: Add the Marathi phonetic input source to the white list
https://bugzilla.gnome.org/show_bug.cgi?id=685721
2012-10-08 17:45:30 +02:00
Rui Matos
3e32d858a1 region: Add inscript2 m17n keymaps to the whitelist
https://bugzilla.gnome.org/show_bug.cgi?id=684854
2012-10-02 16:17:20 +02:00
Rui Matos
c7677010a0 region: Repopulate input sources chooser when IBus becomes available
Otherwise the IBus sources wouldn't be available in the chooser until
it was closed and re-opened.

https://bugzilla.gnome.org/show_bug.cgi?id=684874
2012-10-02 16:17:20 +02:00
Daiki Ueno
fb6c89f45a region: build IBus setup app filename only from the engine prefix
There are 84 m17n engines in the whitelist and they all use
ibus-setup-m17n.  To reduce the number of .desktop files, this
patch uses the prefix before the first ":" to construct the .desktop
filename and set IBUS_ENGINE_NAME envvar to let the setup app know
the actual engine ID.

https://bugzilla.gnome.org/show_bug.cgi?id=684935
2012-10-02 16:17:19 +02:00
Bastien Nocera
9dcf8cbfef 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
2012-10-01 11:39:04 +02:00
Bastien Nocera
287b0b917a region: Fix possibly uninitialised variable 2012-09-27 16:13:11 +02:00
Rui Matos
4abdc131c9 Revert "region: Create a source from the X layout in use when setting is empty"
This reverts commit 1e0192555b.

https://bugzilla.gnome.org/show_bug.cgi?id=684584
2012-09-25 13:20:34 +02:00
Bastien Nocera
c8b4efd10b region: Switch to the input sources section
When clicking on the link.

https://bugzilla.gnome.org/show_bug.cgi?id=684280
2012-09-21 21:37:05 +02:00
Daiki Ueno
b4251d847b region: move Amharic in IBus engine whitelist
Move Amharic input method to non-trivial unconfirmed section.

https://bugzilla.gnome.org/show_bug.cgi?id=683697
2012-09-16 17:29:57 -04:00
Daiki Ueno
e09ca1074c region: add non-trivial IBus engines to whitelist
Add non-trivial IBus engines such as transliteration based ones.
Though these engines have not yet confirmed by local language
users, it would be probably safe to leave them.

https://bugzilla.gnome.org/show_bug.cgi?id=683697
2012-09-16 17:29:55 -04:00
Daiki Ueno
bd5105d7f6 region: whitelist IBus engines with no XKB equiv
Some IBus engines don't have XKB equivalents, so need to be
whitelisted to be usable.

https://bugzilla.gnome.org/show_bug.cgi?id=683697
2012-09-16 17:29:54 -04:00
Daiki Ueno
ab43e935a5 region: add wubi and erbi to IBus engine whitelist
wubi and erbi (both from ibus-table) are popular stroke based input
methods for inputing Simplified Chinese and Traditional Chinese.
A local user said that wubi covers at least 20% of the Simplified
Chinese users.  erbi is similar to wubi and getting popular because
of easiness to learn.

https://bugzilla.gnome.org/show_bug.cgi?id=683697
2012-09-16 17:29:53 -04:00
Daiki Ueno
521bcadd51 region: remove Farsi item from IBus engine whitelist
m17n:fa:isiri is removed from IBus engine whitelist, since it
has XKB equivalent.

https://bugzilla.gnome.org/show_bug.cgi?id=683697
2012-09-16 17:29:51 -04:00
Daiki Ueno
89007c64ff region: mark Vietnamese IBus engine whitelist as confirmed
A local user confirmed that the Vietnamese whitelist items cover 90% of
the language users, thus it is now marked as "confirmed".

https://bugzilla.gnome.org/show_bug.cgi?id=683697
2012-09-16 17:29:49 -04:00
Matthias Clasen
f251788f9a region: Fix a layout problem on the system tab
The Format: row was being pushed to the bottom, and when the
input sources value was longer on the one side than the other,
the horizontal alignment was broken.
2012-09-16 15:52:49 -04:00
Bastien Nocera
914e8b2562 region: Handle input sources in the system tab
Unfortunately we don't have a way yet to make gsettings system wide
defaults so we are just using the localed API to export the XKB input
sources and ignore the IBus ones.

https://bugzilla.gnome.org/show_bug.cgi?id=683875
2012-09-16 13:33:05 -04:00
Rui Matos
1e0192555b region: Create a source from the X layout in use when setting is empty
We don't want to show an empty input sources list so we create a
source from the current X layout in case the setting is empty.

https://bugzilla.gnome.org/show_bug.cgi?id=683879
2012-09-14 03:07:45 +02:00