[gnome-shell/wip/fmuellner/notification-redux+sass: 108/141] messageTray: Notify on notification updates



commit 9f6fd666edbaf81921bef647bcb1bd08e5f53e5d
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Feb 19 19:23:14 2015 +0100

    messageTray: Notify on notification updates
    
    Since notification support was added to the lock screen, notifications
    are no longer necessarily represented by the actual notification actor
    anymore. However when an existing notification is updated, external
    representations currently become outdated.
    Emit an appropriate signal which allows them to update.

 js/ui/messageTray.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 4fe17f5..3d1a8b2 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -677,6 +677,7 @@ const Notification = new Lang.Class({
         }
 
         this.updated();
+        this.emit('updated', params.clear);
     },
 
     setIconVisible: function(visible) {


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