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
This commit is contained in:
Jasper St. Pierre 2011-08-29 17:41:10 -04:00
parent 9ed0bbb3a9
commit be4d504e27

View File

@ -226,6 +226,7 @@ IMStatusChooserItem.prototype = {
_setIconFromFile: function(iconFile) {
this._iconBin.set_style('background-image: url("' + iconFile + '");');
this._iconBin.child = null;
},
_setIconFromName: function(iconName) {