[gnome-shell] Revert "Make it possible to always show the a11y status"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Revert "Make it possible to always show the a11y status"
- Date: Mon, 15 Apr 2013 22:39:41 +0000 (UTC)
commit 6c4be0311af1dd7744fea495547776ea2eb58984
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Apr 15 18:39:44 2013 -0400
Revert "Make it possible to always show the a11y status"
This reverts commit 6ce79c62eb624f33481dee68454b41b1034052a8.
data/org.gnome.shell.gschema.xml.in.in | 8 --------
js/ui/status/accessibility.js | 8 --------
2 files changed, 16 deletions(-)
---
diff --git a/data/org.gnome.shell.gschema.xml.in.in b/data/org.gnome.shell.gschema.xml.in.in
index e45274e..bacb6b1 100644
--- a/data/org.gnome.shell.gschema.xml.in.in
+++ b/data/org.gnome.shell.gschema.xml.in.in
@@ -73,14 +73,6 @@ value here is from the GsmPresenceStatus enumeration.</_summary>
menuitem in single-user, single-session situations.
</_description>
</key>
- <key name="always-show-universal-access" type="b">
- <default>false</default>
- <_summary>Always show the Universal Access status.</_summary>
- <_description>
- This key overrides the automatic hiding of the Universal
- Access status icon when no accessibility features are enabled.
- </_description>
- </key>
<key name="remember-mount-password" type="b">
<default>false</default>
<_summary>Whether to remember password for mounting encrypted or remote filesystems</_summary>
diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js
index b18af85..479a15a 100644
--- a/js/ui/status/accessibility.js
+++ b/js/ui/status/accessibility.js
@@ -26,8 +26,6 @@ const KEY_ICON_THEME = 'icon-theme';
const KEY_WM_THEME = 'theme';
const KEY_TEXT_SCALING_FACTOR = 'text-scaling-factor';
-const KEY_ALWAYS_SHOW_UNIVERSAL_ACCESS = 'always-show-universal-access';
-
const HIGH_CONTRAST_THEME = 'HighContrast';
const ATIndicator = new Lang.Class({
@@ -73,18 +71,12 @@ const ATIndicator = new Lang.Class({
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addSettingsAction(_("Universal Access Settings"), 'gnome-universal-access-panel.desktop');
- global.settings.connect('changed::' + KEY_ALWAYS_SHOW_UNIVERSAL_ACCESS, Lang.bind (this,
this._queueSyncMenuVisibility));
-
this._syncMenuVisibility();
},
_syncMenuVisibility: function() {
this._syncMenuVisibilityIdle = 0;
- if (global.settings.get_boolean(KEY_ALWAYS_SHOW_UNIVERSAL_ACCESS)) {
- this.actor.visible = true;
- return false;
- }
let items = this.menu._getMenuItems();
this.actor.visible = items.some(function(f) { return !!f.state; });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]