[gsettings-desktop-schemas] schemas: Change default list of input sources to be empty
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gsettings-desktop-schemas] schemas: Change default list of input sources to be empty
- Date: Fri, 14 Sep 2012 12:26:46 +0000 (UTC)
commit 44c2f7d3bc85af40fd1983eabcb7637636b0cdc6
Author: Rui Matos <tiagomatos gmail com>
Date: Sat Sep 8 21:00:31 2012 +0200
schemas: Change default list of input sources to be empty
In case the user hasn't configured any input source it's less
surprising to default to the current X server's XKB layout and variant
than defaulting to the 'us' layout.
https://bugzilla.gnome.org/show_bug.cgi?id=683880
...g.gnome.desktop.input-sources.gschema.xml.in.in | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in b/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in
index 9a694da..c113d8c 100644
--- a/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in
+++ b/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in
@@ -7,20 +7,22 @@
<_description>
The zero-based index into the input sources list specifying
the current one in effect. The value is automatically capped
- to remain in the range [0, sources_length).
+ to remain in the range [0, sources_length) as long as the
+ sources list isn't empty.
</_description>
</key>
<key name="sources" type="a(ss)">
- <default>[('xkb', 'us')]</default>
+ <default>[]</default>
<_summary>List of input sources</_summary>
<_description>
- List of input source identifiers available.
- Each source is specified as a tuple of 2 strings.
- The first string is the type and can be one of 'xkb' or
- 'ibus'. For 'xkb' sources the second string is
- 'xkb_layout+xkb_variant' or just 'xkb_layout' if a XKB variant
- isn't needed. For 'ibus' sources the second string is the IBus
- engine name.
+ List of input source identifiers available. Each source is
+ specified as a tuple of 2 strings. The first string is the
+ type and can be one of 'xkb' or 'ibus'. For 'xkb' sources the
+ second string is 'xkb_layout+xkb_variant' or just 'xkb_layout'
+ if a XKB variant isn't needed. For 'ibus' sources the second
+ string is the IBus engine name. An empty list means that the X
+ server's current XKB layout and variant won't be touched and
+ IBus won't be used.
</_description>
</key>
<key name="xkb-options" type="as">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]