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 cd5318baa7.
This commit is contained in:
Florian Müllner 2015-02-21 21:41:18 +01:00
parent 73c35f8629
commit 87767422e4

View File

@ -1939,10 +1939,6 @@ 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._bannerClickedId = this._banner.connect('done-displaying',
Lang.bind(this, this._escapeTray));