telepathyClient: Use a revealer for new messages in Telepathy as well

This commit is contained in:
Jasper St. Pierre 2013-12-05 02:24:56 -05:00
parent 060917ae2b
commit 0b414308fb

View File

@ -735,7 +735,11 @@ const ChatNotification = new Lang.Class({
}
this._lastMessageBox = new St.BoxLayout({ vertical: false });
this._lastMessageBox.add(body, props.childProps);
let revealer = new MessageTray.Revealer(body);
this._lastMessageBox.add(revealer, props.childProps);
revealer.show(true);
this._bodyBox.add_child(this._lastMessageBox);
let timestamp = props.timestamp;