[gnome-shell] loginDialog: Fix regression from updating icon
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] loginDialog: Fix regression from updating icon
- Date: Sat, 1 Sep 2012 11:06:57 +0000 (UTC)
commit 167ed7c35bbbbf62e79ea9cf7f09d1a7964c6f90
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat Sep 1 08:06:41 2012 -0300
loginDialog: Fix regression from updating icon
Remove a rogue reference to _updateIcon.
js/gdm/loginDialog.js | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index ee8b8c9..7bedf45 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -104,8 +104,7 @@ const UserListItem = new Lang.Class({
vertical: true });
layout.add(textLayout, { expand: true });
- this._nameLabel = new St.Label({ text: this.user.get_real_name(),
- style_class: 'login-dialog-user-list-item-name' });
+ this._nameLabel = new St.Label({ style_class: 'login-dialog-user-list-item-name' });
textLayout.add(this._nameLabel,
{ y_fill: false,
y_align: St.Align.MIDDLE,
@@ -119,10 +118,8 @@ const UserListItem = new Lang.Class({
y_fill: false,
y_align: St.Align.END });
- this._updateIcon();
- this._updateLoggedIn();
-
this.actor.connect('clicked', Lang.bind(this, this._onClicked));
+ this._onUserChanged();
},
_onUserChanged: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]