From cd5318baa7699923f9757e25576c9fb4e3aef2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 20 Feb 2015 11:18:15 +0100 Subject: [PATCH] messageTray: Special-case chat notifications to use the old actor --- js/ui/messageTray.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index a29d93b7f..9e9f7af4c 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1889,7 +1889,11 @@ const MessageTray = new Lang.Class({ this.idleMonitor.add_user_active_watch(Lang.bind(this, this._onIdleMonitorBecameActive)); } - this._banner = this._notification.createBanner(); + // HACK: didn't manage to get chat into a proper state in time + if (this._notification.source.isChat) + this._banner = this._notification; + else + this._banner = this._notification.createBanner(); this._bannerClickedId = this._banner.connect('done-displaying', Lang.bind(this, this._escapeTray)); this._bannerUnfocusedId = this._banner.connect('unfocused', Lang.bind(this, function() {