[gnome-shell] userMenu: Don't show the default avatar over a newly selected one



commit be4d504e27feeb0dbc4a17388fe03628989e4dcb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Aug 29 17:41:10 2011 -0400

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index 8d71ce2..33c3315 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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]