[gnome-shell] messageTray: Reset clickedSummaryItem on ungrab
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] messageTray: Reset clickedSummaryItem on ungrab
- Date: Fri, 6 Sep 2013 08:16:57 +0000 (UTC)
commit aa6471b3cc9b81b2d0b0b817a466d03bf82c5bfe
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Sep 6 01:55:22 2013 +0200
messageTray: Reset clickedSummaryItem on ungrab
If we don't, we will pop up the summary again the next time
_updateState() is called.
https://bugzilla.gnome.org/show_bug.cgi?id=707600
js/ui/messageTray.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index c87a298..69a822d 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -2732,6 +2732,7 @@ const MessageTray = new Lang.Class({
_onSummaryBoxPointerUngrabbed: function() {
this._summaryBoxPointerState = State.HIDING;
+ this._setClickedSummaryItem(null);
if (this._summaryBoxPointerContentUpdatedId) {
this._summaryBoxPointerItem.disconnect(this._summaryBoxPointerContentUpdatedId);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]