[gnome-shell] loginDialog: fix reactivity of first user in user list
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] loginDialog: fix reactivity of first user in user list
- Date: Thu, 22 Jan 2015 21:56:56 +0000 (UTC)
commit d04340c675f7b6245acb9b4eb736403d15e2ecd0
Author: Ray Strode <rstrode redhat com>
Date: Thu Jan 22 14:00:01 2015 -0500
loginDialog: fix reactivity of first user in user list
After the login banner is shown and hidden, the first user
in the user list becomes non-reactive. This is because the
banner is given an opacity of 0, but still allocated.
This commit fixes that by hiding the banner explicitly.
https://bugzilla.gnome.org/show_bug.cgi?id=743370
js/gdm/loginDialog.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index b7eff68..9dd984c 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -709,6 +709,7 @@ const LoginDialog = new Lang.Class({
},
_fadeInBannerView: function() {
+ this._bannerView.show();
Tweener.addTween(this._bannerView,
{ opacity: 255,
time: _FADE_ANIMATION_TIME,
@@ -718,6 +719,7 @@ const LoginDialog = new Lang.Class({
_hideBannerView: function() {
Tweener.removeTweens(this._bannerView);
this._bannerView.opacity = 0;
+ this._bannerView.hide();
},
_updateLogoTexture: function(cache, file) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]