[gnome-shell/wip/fmuellner/chat-notifications: 2/4] Revert "messageTray: Special-case chat notifications to use the old actor"
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/chat-notifications: 2/4] Revert "messageTray: Special-case chat notifications to use the old actor"
- Date: Mon, 23 Feb 2015 21:34:54 +0000 (UTC)
commit 302d8213f7cf5685cb312d42a26105c4ae119845
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Feb 21 21:41:18 2015 +0100
Revert "messageTray: Special-case chat notifications to use the old actor"
This reverts commit cd5318baa7699923f9757e25576c9fb4e3aef2ac.
js/ui/messageTray.js | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index c66e7b9..cbee730 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1898,11 +1898,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() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]