Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-10-06 14:59:29 (GMT)
committer Daniel Drake <dsd@laptop.org>2011-10-09 11:36:12 (GMT)
commit2f7153776e271ad75c2df4197108fffaf77f3161 (patch)
treedc246a307dd4d08adb513affbc300063a797c299 /data
parent6ec7ba18b4ec2ecfac063b93f0e421b3aadcaa5e (diff)
Only activate keyboard configuration if it was configured, OLPC #11175
Sugar is currently activing a new keyboard config even if the user did not change any settings. Avoid this by only activating the configuration if user-specified settings are found in gconf. Also remove the default 'evdev' model string so that gconf settings are truly blank unless the user has selected something. This fixes the case where keyboard settings were configured elsewhere, but Sugar ends up throwing those away and applying its own 'blank' settings. The forced 'evdev' default was added in #1717: Since we do not supply a keyboard model by default, xfree86 gets picked up, and as a result the arrow keys, etc do not work on Xephyr. We should use evdev instead. However, this seems more like an evdev configuration issue, and regardless of this, arrow keys are not working before this patch anyway. Acked-By: Sascha Silbe <silbe@activitycentral.com> Signed-off-by: Daniel Drake <dsd@laptop.org>
Diffstat (limited to 'data')
-rw-r--r--data/sugar.schemas.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/sugar.schemas.in b/data/sugar.schemas.in
index b13f746..8b3e1ad 100644
--- a/data/sugar.schemas.in
+++ b/data/sugar.schemas.in
@@ -232,7 +232,6 @@
<applyto>/desktop/sugar/peripherals/keyboard/model</applyto>
<owner>sugar</owner>
<type>string</type>
- <default>evdev</default>
<locale name="C">
<short>Keyboard model</short>
<long>The keyboard model to be used</long>