gnome-shell/js
Marina Zhurakhinskaya 1aba99336a MessageTray: fix showing and hiding summary notifications when summary items are clicked
This patch fixes the summary notification reappearing if you click on the
summary item to hide it and hover away. It also ensures that when you click
on any summary item which doesn't correspond to the summary notification
being shown, a new summary notification will replace it right away.

What used to happen is that we'd unset the clicked item in _unlock() that
was called when the focus was ungrabbed because the user clicked outside
of the summary notification, but then would have this._clickedSummaryItem
be null in _onSummaryItemClicked() , and set it to the clicked item all
over again. This patch ensures that we unset the clicked item only when
it is necessary.

We also needed to add the code to call _updateState() again to show a new
summary notification when a previous one was hidden, but
this._clickedSummaryItem was set.

https://bugzilla.gnome.org/show_bug.cgi?id=642005
2011-02-15 18:37:33 -05:00
..
misc Don't switch to a workspace when dragging it to launch on that workspace 2011-02-08 19:43:21 -05:00
perf Use non recursive automake for JS 2010-09-15 18:38:46 +02:00
ui MessageTray: fix showing and hiding summary notifications when summary items are clicked 2011-02-15 18:37:33 -05:00
Makefile.am Add workspace thumbnails to the overview 2011-02-08 19:43:20 -05:00