[gnome-shell/wip/message-tray: 34/35] messageTray: Fix going to left-click/right-click on the same summary item



commit 300038aafa6f0d4488a58c106ffa8e87ea4ea6df
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 20a9714..cf01f1e 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]