gdm: Remove separate greeter universal access icon
The idea behind always showing the icon on the login screen is that the users' needs aren't known at that point. However we can achieve the same behavior by including the 'always-show-universal-access-status' key in GDM's presets, so drop the special-case. https://bugzilla.gnome.org/show_bug.cgi?id=788943
This commit is contained in:
parent
e16eb55339
commit
01d8811913
@ -763,7 +763,6 @@ const PANEL_ITEM_IMPLEMENTATIONS = {
|
||||
'appMenu': AppMenuButton,
|
||||
'dateMenu': imports.ui.dateMenu.DateMenuButton,
|
||||
'a11y': imports.ui.status.accessibility.ATIndicator,
|
||||
'a11yGreeter': imports.ui.status.accessibility.ATGreeterIndicator,
|
||||
'keyboard': imports.ui.status.keyboard.InputSourceIndicator,
|
||||
};
|
||||
|
||||
|
@ -49,7 +49,7 @@ const _modes = {
|
||||
panel: {
|
||||
left: [],
|
||||
center: ['dateMenu'],
|
||||
right: ['a11yGreeter', 'keyboard', 'aggregateMenu'],
|
||||
right: ['a11y', 'keyboard', 'aggregateMenu']
|
||||
},
|
||||
panelStyle: 'login-screen'
|
||||
},
|
||||
|
@ -212,12 +212,3 @@ var ATIndicator = new Lang.Class({
|
||||
return widget;
|
||||
}
|
||||
});
|
||||
|
||||
var ATGreeterIndicator = new Lang.Class({
|
||||
Name: 'ATGreeterIndicator',
|
||||
Extends: ATIndicator,
|
||||
|
||||
// Override visibility handling to be always visible
|
||||
_syncMenuVisibility: function() { },
|
||||
_queueSyncMenuVisibility: function() { }
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user