[gnome-shell/wip/new-notifications: 560/569] 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: 560/569] telepathyClient: Use a revealer for new messages in Telepathy as well
- Date: Tue, 3 Jun 2014 18:03:43 +0000 (UTC)
commit 0b414308fb363fc203ad0441f8ba6947df4a8f77
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 | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index 715cc9b..71f738f 100644
--- a/js/ui/components/telepathyClient.js
+++ b/js/ui/components/telepathyClient.js
@@ -735,7 +735,11 @@ const ChatNotification = new Lang.Class({
}
this._lastMessageBox = new St.BoxLayout({ vertical: false });
- this._lastMessageBox.add(body, props.childProps);
+
+ let revealer = new MessageTray.Revealer(body);
+ this._lastMessageBox.add(revealer, props.childProps);
+ revealer.show(true);
+
this._bodyBox.add_child(this._lastMessageBox);
let timestamp = props.timestamp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]