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
This commit is contained in:
Hellyna Ng 2011-02-17 08:51:49 +08:00 committed by Dan Winship
parent 07bde8248e
commit 1779f662b1

View File

@ -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 });
}