From 1779f662b12df3a6d1b16f29e445e20c03f18ea8 Mon Sep 17 00:00:00 2001 From: Hellyna Ng Date: Thu, 17 Feb 2011 08:51:49 +0800 Subject: [PATCH] telepathyClient: changed default icon for contacts without an avatar The original icon doesn't exist, which results in empathy summary items in the tray showing no icons (invisible) at all. With this fix users can now at least see where the icons are (they are no longer invisible). https://bugzilla.gnome.org/show_bug.cgi?id=639468 --- js/ui/telepathyClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index f9d61fdcf..feda9c020 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -168,7 +168,7 @@ Source.prototype = { let uri = file.get_uri(); this._iconBox.child = textureCache.load_uri_async(uri, this._iconBox._size, this._iconBox._size); } else { - this._iconBox.child = new St.Icon({ icon_name: 'stock_person', + this._iconBox.child = new St.Icon({ icon_name: 'avatar-default', icon_type: St.IconType.FULLCOLOR, icon_size: this._iconBox._size }); }