From 87767422e43b610ff60a69ba7de02772eb36bc04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 21 Feb 2015 21:41:18 +0100 Subject: [PATCH] Revert "messageTray: Special-case chat notifications to use the old actor" This was really just a temporary hack to buy us more time to properly port chat notifications to the new banners ... This reverts commit cd5318baa7699923f9757e25576c9fb4e3aef2ac. --- js/ui/messageTray.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 1256a13a6..4d7d93518 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1939,11 +1939,7 @@ const MessageTray = new Lang.Class({ this.idleMonitor.add_user_active_watch(Lang.bind(this, this._onIdleMonitorBecameActive)); } - // 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._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() {