[gnome-shell] gdm: Remove separate greeter universal access icon



commit 01d88119132f277196fa39c05b733dd1b4c5e951
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Oct 13 16:17:46 2017 +0200

    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

 js/ui/panel.js                |    1 -
 js/ui/sessionMode.js          |    2 +-
 js/ui/status/accessibility.js |    9 ---------
 3 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index d7c8397..e90d65b 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -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,
 };
 
diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js
index 707ab3c..b7a315e 100644
--- a/js/ui/sessionMode.js
+++ b/js/ui/sessionMode.js
@@ -49,7 +49,7 @@ const _modes = {
         panel: {
             left: [],
             center: ['dateMenu'],
-            right: ['a11yGreeter', 'keyboard', 'aggregateMenu'],
+            right: ['a11y', 'keyboard', 'aggregateMenu']
         },
         panelStyle: 'login-screen'
     },
diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js
index de76731..1991263 100644
--- a/js/ui/status/accessibility.js
+++ b/js/ui/status/accessibility.js
@@ -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() { }
-});


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