[gnome-shell/wip/new-notifications: 13/13] 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: 13/13] telepathyClient: Use a revealer for new messages in Telepathy as well
- Date: Fri, 13 Dec 2013 16:54:42 +0000 (UTC)
commit c5d23cd9c9c9af1475005d0dc8801452318fb290
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 070276a..8d5fcc8 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]