AccessibilityMenu: hide when not needed

Tie the menu visibility to having at least one a11y feature enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=681528
This commit is contained in:
Giovanni Campagna
2012-08-13 19:04:03 +02:00
parent a2a292d48e
commit c4621119b3
3 changed files with 44 additions and 8 deletions

View File

@ -47,7 +47,7 @@ const _modes = {
panel: {
left: ['logo'],
center: ['dateMenu'],
right: ['a11y', 'display', 'keyboard',
right: ['a11yGreeter', 'display', 'keyboard',
'volume', 'battery', 'powerMenu']
},
panelStyle: 'login-screen'
@ -84,7 +84,7 @@ const _modes = {
panel: {
left: [],
center: ['dateMenu'],
right: ['a11y', 'keyboard', 'volume']
right: ['a11yGreeter', 'keyboard', 'volume']
}
},