[gnome-shell] userMenu: Rely on automatic texture changes



commit f18fd8d959029168f1f0daf13ce87260ec85b6c4
Author: Florian MÃllner <fmuellner gnome org>
Date:   Mon Sep 24 22:08:52 2012 +0200

    userMenu: Rely on automatic texture changes
    
    This reverts commit 6f3cf0ae50af0f7a9cd68760abe695009605c0d7.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679268

 js/ui/userMenu.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index 6eb445f..464d8e4 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -73,11 +73,6 @@ const UserAvatarWidget = new Lang.Class({
             let file = Gio.File.new_for_path(iconFile);
             this.actor.child = null;
             this.actor.style = 'background-image: url("%s");'.format(iconFile);
-
-            // AccountsService uses a fixed location for avatar images, so
-            // we need to clear out all cached data to pick up image changes,
-            // see https://bugzilla.gnome.org/show_bug.cgi?id=679268
-            this.actor.clear_background_image();
         } else {
             this.actor.style = null;
             this.actor.child = new St.Icon({ icon_name: 'avatar-default-symbolic',



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