summaryrefslogtreecommitdiff
path: root/x11/gnome-shell/files/patch-js_gdm_loginDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-shell/files/patch-js_gdm_loginDialog.js')
-rw-r--r--x11/gnome-shell/files/patch-js_gdm_loginDialog.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/x11/gnome-shell/files/patch-js_gdm_loginDialog.js b/x11/gnome-shell/files/patch-js_gdm_loginDialog.js
deleted file mode 100644
index 826af5f8b034..000000000000
--- a/x11/gnome-shell/files/patch-js_gdm_loginDialog.js
+++ /dev/null
@@ -1,23 +0,0 @@
---- js/gdm/loginDialog.js.orig 2012-03-24 21:19:24.000000000 -0500
-+++ js/gdm/loginDialog.js 2012-03-24 21:21:23.000000000 -0500
-@@ -301,11 +301,17 @@
- this.actor.connect('key-focus-in', Lang.bind(this, this._moveFocusToItems));
- },
-
-- _moveFocusToItems: function() {
-- let hasItems = Object.keys(this._items).length > 0;
-+ _hasItems: function() {
-+ for (let userName in this._items) {
-+ return true;
-+ }
-+ return false;
-+ },
-
-- if (!hasItems)
-+ _moveFocusToItems: function() {
-+ if (!this._hasItems()) {
- return;
-+ }
-
- if (global.stage.get_key_focus() != this.actor)
- return;