[gnome-shell/wip/new-notifications: 15/15] 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: 15/15] telepathyClient: Use a revealer for new messages in Telepathy as well
- Date: Thu, 5 Dec 2013 22:50:17 +0000 (UTC)
commit 1f620a5ffcf3b8201fd68d336beaf48fe236bd13
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]