[gnome-shell/wip/new-notifications: 17/17] telepathyClient: Use a revealer for new messages in Telepathy as well
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/new-notifications: 17/17] telepathyClient: Use a revealer for new messages in Telepathy as well
- Date: Thu, 5 Dec 2013 15:30:13 +0000 (UTC)
commit daf946c95d58b38dadc43b8c0fab4aff62be96ab
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Dec 5 02:24:56 2013 -0500
telepathyClient: Use a revealer for new messages in Telepathy as well
js/ui/components/telepathyClient.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index a0087bf..53d67aa 100644
--- a/js/ui/components/telepathyClient.js
+++ b/js/ui/components/telepathyClient.js
@@ -722,7 +722,9 @@ const ChatNotification = new Lang.Class({
this._bodyBox.add_child(this._lastGroupActor);
}
- this._lastGroupActor.add(body, props.childProps);
+ let revealer = new MessageTray.Revealer(body);
+ this._lastGroupActor.add(revealer, props.childProps);
+ revealer.visible = true;
let timestamp = props.timestamp;
this._history.unshift({ actor: body, time: timestamp,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]