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

This commit is contained in:
Guillaume Desmottes 2011-05-27 11:08:32 +02:00
parent ad314b362e
commit 9c849b0290

View File

@ -1615,6 +1615,8 @@ MessageTray.prototype = {
this._clickedSummaryItemMouseButton != button) { this._clickedSummaryItemMouseButton != button) {
this._clickedSummaryItem = summaryItem; this._clickedSummaryItem = summaryItem;
this._clickedSummaryItemMouseButton = button; this._clickedSummaryItemMouseButton = button;
summaryItem.source.emit('summary-item-clicked', button);
} else { } else {
this._unsetClickedSummaryItem(); this._unsetClickedSummaryItem();
} }