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:
parent
07bde8248e
commit
1779f662b1
@ -168,7 +168,7 @@ Source.prototype = {
|
|||||||
let uri = file.get_uri();
|
let uri = file.get_uri();
|
||||||
this._iconBox.child = textureCache.load_uri_async(uri, this._iconBox._size, this._iconBox._size);
|
this._iconBox.child = textureCache.load_uri_async(uri, this._iconBox._size, this._iconBox._size);
|
||||||
} else {
|
} 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_type: St.IconType.FULLCOLOR,
|
||||||
icon_size: this._iconBox._size });
|
icon_size: this._iconBox._size });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user