messageTray: Fix going to left-click/right-click on the same summary item

This code was originally here to close the summary box pointer if it was
already open, but it seems that it isn't necessary, and is causing all
sorts of problems.
This commit is contained in:
Jasper St. Pierre 2012-08-19 19:10:59 -04:00
parent 5c6b1fd0cc
commit 05d613f3a3

View File

@ -2356,9 +2356,6 @@ const MessageTray = new Lang.Class({
this._summaryBoxPointerState = State.HIDING;
this._unlock();
if (this._summaryBoxPointerItem == this._clickedSummaryItem)
this._setClickedSummaryItem(null);
if (this._summaryBoxPointerItem.source.notifications.length == 0) {
this._summaryBoxPointer.actor.hide();
this._hideSummaryBoxPointerCompleted();