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
.
https://bugzilla.gnome.org/show_bug.cgi?id=746343
This commit is contained in:
parent
0ee762263a
commit
54f46e8486
@ -1939,11 +1939,7 @@ const MessageTray = new Lang.Class({
|
|||||||
this.idleMonitor.add_user_active_watch(Lang.bind(this, this._onIdleMonitorBecameActive));
|
this.idleMonitor.add_user_active_watch(Lang.bind(this, this._onIdleMonitorBecameActive));
|
||||||
}
|
}
|
||||||
|
|
||||||
// HACK: didn't manage to get chat into a proper state in time
|
this._banner = this._notification.createBanner();
|
||||||
if (this._notification.source.isChat)
|
|
||||||
this._banner = this._notification;
|
|
||||||
else
|
|
||||||
this._banner = this._notification.createBanner();
|
|
||||||
this._bannerClickedId = this._banner.connect('done-displaying',
|
this._bannerClickedId = this._banner.connect('done-displaying',
|
||||||
Lang.bind(this, this._escapeTray));
|
Lang.bind(this, this._escapeTray));
|
||||||
this._bannerUnfocusedId = this._banner.connect('unfocused', Lang.bind(this, function() {
|
this._bannerUnfocusedId = this._banner.connect('unfocused', Lang.bind(this, function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user