diff options
-rw-r--r-- | x11/gnome-shell/Makefile | 3 | ||||
-rw-r--r-- | x11/gnome-shell/files/patch-js_gdm_loginDialog.js | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile index c2df9702a..59c1a25eb 100644 --- a/x11/gnome-shell/Makefile +++ b/x11/gnome-shell/Makefile @@ -3,11 +3,12 @@ # Whom: Pawel Worach <pawel.worach@gmail.com> # # $FreeBSD$ -# $MCom: ports/x11/gnome-shell/Makefile,v 1.50 2012/02/04 20:35:54 kwm Exp $ +# $MCom: ports/x11/gnome-shell/Makefile,v 1.51 2012/02/06 15:29:02 kwm Exp $ # PORTNAME= gnome-shell PORTVERSION= 3.2.2.1 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 diff --git a/x11/gnome-shell/files/patch-js_gdm_loginDialog.js b/x11/gnome-shell/files/patch-js_gdm_loginDialog.js new file mode 100644 index 000000000..a7fbe75e0 --- /dev/null +++ b/x11/gnome-shell/files/patch-js_gdm_loginDialog.js @@ -0,0 +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 @@ + 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) + return; +- } + + if (global.stage.get_key_focus() != this.actor) + return; |