[gnome-shell/wip/new-notfications: 14/14] telepathyClient: Use a revealer for new messages in Telepathy as well



commit f2754daaa9a27267ab9a647b181d74fedd732624
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]