From 9c849b0290ff8df97dd053f5914f601c2a61be86 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 27 May 2011 11:08:32 +0200 Subject: [PATCH] messageTray.js: fire a signal when the summary item is clicked --- js/ui/messageTray.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 1ae3fd7c4..6014b4bb1 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(); }