From be4d504e27feeb0dbc4a17388fe03628989e4dcb Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 29 Aug 2011 17:41:10 -0400 Subject: [PATCH] userMenu: Don't show the default avatar over a newly selected one When we replace the default avatar image with a real image, we need to remove the default avatar image. https://bugzilla.gnome.org/show_bug.cgi?id=657657 --- js/ui/userMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 8d71ce287..33c331511 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -226,6 +226,7 @@ IMStatusChooserItem.prototype = { _setIconFromFile: function(iconFile) { this._iconBin.set_style('background-image: url("' + iconFile + '");'); + this._iconBin.child = null; }, _setIconFromName: function(iconName) {