summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2012-03-25 10:23:15 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2012-03-25 10:23:15 +0800
commit655d73624221d24d851dc95e668204ef4c84bfef (patch)
treeff572702568ca3e46b90da4eb3472caf404f0dca /x11
parent7ad744fded1a694a2b258795f3cf0ddd05ff6ce8 (diff)
downloadmarcuscom-ports-655d73624221d24d851dc95e668204ef4c84bfef.tar
marcuscom-ports-655d73624221d24d851dc95e668204ef4c84bfef.tar.gz
marcuscom-ports-655d73624221d24d851dc95e668204ef4c84bfef.tar.bz2
marcuscom-ports-655d73624221d24d851dc95e668204ef4c84bfef.tar.lz
marcuscom-ports-655d73624221d24d851dc95e668204ef4c84bfef.tar.xz
marcuscom-ports-655d73624221d24d851dc95e668204ef4c84bfef.tar.zst
marcuscom-ports-655d73624221d24d851dc95e668204ef4c84bfef.zip
Fix the patch.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16703 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-shell/files/patch-js_gdm_loginDialog.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/x11/gnome-shell/files/patch-js_gdm_loginDialog.js b/x11/gnome-shell/files/patch-js_gdm_loginDialog.js
index a7fbe75e0..826af5f8b 100644
--- a/x11/gnome-shell/files/patch-js_gdm_loginDialog.js
+++ b/x11/gnome-shell/files/patch-js_gdm_loginDialog.js
@@ -1,23 +1,23 @@
---- js/gdm/loginDialog.js 2012-03-20 22:08:13.000000000 -0500
-+++ js/gdm/loginDialog.js.orig 2012-03-20 22:07:01.000000000 -0500
-@@ -301,17 +301,11 @@
+--- 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));
},
-- _hasItems: function() {
-- for (let userName in this._items) {
-- return true;
-- }
-- return false;
-- },
--
- _moveFocusToItems: function() {
-- if (!this._hasItems()) {
-+ let hasItems = Object.keys(this._items).length > 0;
-+
-+ if (!hasItems)
+- _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;