~jbicha/ubuntu/oneiric/gnome-shell/oneiric-3.2.2.1

« back to all changes in this revision

Viewing changes to js/ui/status/accessibility.js

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2011-07-20 14:46:28 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20110720144628-ipirjtz8od4uktpg
Tags: 3.1.3-0ubuntu1
* New upstream release
* debian/control.in:
  - Update dependency versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
const Signals = imports.signals;
11
11
const St = imports.gi.St;
12
12
 
 
13
const Main = imports.ui.main;
13
14
const PanelMenu = imports.ui.panelMenu;
14
15
const PopupMenu = imports.ui.popupMenu;
15
16
const Util = imports.misc.util;
16
17
 
17
 
const Gettext = imports.gettext.domain('gnome-shell');
18
 
const _ = Gettext.gettext;
19
 
 
20
18
const A11Y_SCHEMA = 'org.gnome.desktop.a11y.keyboard';
21
19
const KEY_STICKY_KEYS_ENABLED = 'stickykeys-enable';
22
20
const KEY_BOUNCE_KEYS_ENABLED = 'bouncekeys-enable';
91
89
 
92
90
        this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
93
91
        this.menu.addAction(_("Universal Access Settings"), function() {
 
92
            Main.overview.hide();
94
93
            let app = Shell.AppSystem.get_default().get_app('gnome-universal-access-panel.desktop');
95
94
            app.activate(-1);
96
95
        });