[gnome-shell] messageTray: Fix going to left-click/right-click on the same summary item



commit 05d613f3a3fd6a500918905fb8b6b3641206afd0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Aug 19 19:10:59 2012 -0400

    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.

 js/ui/messageTray.js |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 0e5549e..7418bef 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -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();



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