messageTray: Special-case chat notifications to use the old actor
This commit is contained in:
parent
67eade6482
commit
cd5318baa7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user