[gnome-shell/wip/new-notifications: 8/8] 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: 8/8] telepathyClient: Use a revealer for new messages in Telepathy as well
- Date: Fri, 13 Dec 2013 18:27:24 +0000 (UTC)
commit b5669ca67e54e5f563eb8f7fac75eabbd5c1beeb
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]