From 4f23f32fc128e04907f09ee1c0fbf5e7b877e484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 17 Feb 2011 16:15:29 +0100 Subject: [PATCH] a11y: Adjust schemas for screen reader and keyboard The settings in org.gnome.desktop.default-applications.at have been removed, use the corresponding settings in org.gnome.desktop.a11y.applications instead. --- js/ui/status/accessibility.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js index c07bf8df8..b5b6cdbe1 100644 --- a/js/ui/status/accessibility.js +++ b/js/ui/status/accessibility.js @@ -24,8 +24,6 @@ const KEY_SLOW_KEYS_ENABLED = 'slowkeys-enable'; const KEY_MOUSE_KEYS_ENABLED = 'mousekeys-enable'; const APPLICATIONS_SCHEMA = 'org.gnome.desktop.a11y.applications'; -const AT_SCREEN_KEYBOARD_SCHEMA = 'org.gnome.desktop.default-applications.at.mobility'; -const AT_SCREEN_READER_SCHEMA = 'org.gnome.desktop.default-applications.at.visual'; const XSETTINGS_SCHEMA = 'org.gnome.settings-daemon.plugins.xsettings'; const KEY_DPI = 'dpi'; @@ -87,10 +85,12 @@ ATIndicator.prototype = { let textZoom = this._buildFontItem(); this.menu.addMenuItem(textZoom); - let screenReader = this._buildItem(_("Screen Reader"), AT_SCREEN_READER_SCHEMA, 'startup'); + let screenReader = this._buildItem(_("Screen Reader"), APPLICATIONS_SCHEMA, + 'screen-reader-enabled'); this.menu.addMenuItem(screenReader); - let screenKeyboard = this._buildItem(_("Screen Keyboard"), AT_SCREEN_KEYBOARD_SCHEMA, 'startup'); + let screenKeyboard = this._buildItem(_("Screen Keyboard"), APPLICATIONS_SCHEMA, + 'screen-keyboard-enabled'); this.menu.addMenuItem(screenKeyboard); let visualBell = this._buildItemGConf(_("Visual Alerts"), client, KEY_VISUAL_BELL);