[gnome-shell] a11y: Adjust schema for screen reader



commit 537ce6059928988da3801d54e9ca4926bc60cf29
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Feb 17 16:15:29 2011 +0100

    a11y: Adjust schema for screen reader
    
    The setting in org.gnome.desktop.default-applications.at
    has been removed, use the corresponding setting in
    org.gnome.desktop.a11y.applications instead.

 js/ui/status/accessibility.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js
index c07bf8d..b42069f 100644
--- a/js/ui/status/accessibility.js
+++ b/js/ui/status/accessibility.js
@@ -25,7 +25,6 @@ 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,7 +86,8 @@ 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');



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]