[gnome-shell/wip/fmuellner/chat-notifications: 2/5] Revert "messageTray: Special-case chat notifications to use the old actor"



commit 87767422e43b610ff60a69ba7de02772eb36bc04
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 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 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 1256a13..4d7d935 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() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]