[gnome-shell: 103/136] messageTray: Notify on notification updates



commit 025985eb07a53afc648f09c2762d4b454d888c56
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744817

 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]