[gnome-shell] messageTray.js: add collapsed signal on Notification



commit cc5c5e7e8a44db47c129b3935c2646d74aed722a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri May 27 11:08:32 2011 +0200

    messageTray.js: add collapsed signal on Notification

 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 6014b4b..383a68a 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -829,6 +829,7 @@ Notification.prototype = {
         // Restore banner opacity in case the notification is shown in the
         // banner mode again on update.
         this._bannerLabel.opacity = 255;
+        this.emit('collapsed');
     },
 
     _onActionInvoked: function(actor, mouseButtonClicked, id) {



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