[gnome-shell] messageTray.js: fire a signal when the summary item is clicked



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

    messageTray.js: fire a signal when the summary item is clicked

 js/ui/messageTray.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 1ae3fd7..6014b4b 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1615,6 +1615,8 @@ MessageTray.prototype = {
                  this._clickedSummaryItemMouseButton != button) {
             this._clickedSummaryItem = summaryItem;
             this._clickedSummaryItemMouseButton = button;
+
+            summaryItem.source.emit('summary-item-clicked', button);
         } else {
             this._unsetClickedSummaryItem();
         }



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