gnome-shell/js/ui
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
..
status Move magnifier schemas to gsettings-desktop-schemas 2011-02-11 16:52:45 +00:00
altTab.js altTab: Properly query the themenode's color when painting the arrows 2011-02-15 20:58:21 +01:00
appDisplay.js AppWellMenu: Remove window filtering 2011-02-14 23:07:27 +01:00
appFavorites.js dash: Improve DND to dash and allow reordering 2010-11-29 16:35:54 +01:00
boxpointer.js StThemeNode: use (out caller-allocates) on ClutterColor-returning methods 2011-02-14 10:49:26 -05:00
calendar.js calendar: clean up l10n for time format and labels (close bug #641245) 2011-02-03 12:12:57 +01:00
chrome.js chrome: try find fullscreen windows only on current workspace 2011-02-08 23:43:35 +03:00
ctrlAltTab.js ctrlAltTabManager: implement Ctrl-Alt-Tab 2010-12-20 17:43:01 -05:00
dash.js dash: Make iconSize property public 2011-02-12 23:32:57 +01:00
dateMenu.js StThemeNode: use (out caller-allocates) on ClutterColor-returning methods 2011-02-14 10:49:26 -05:00
dnd.js dnd: Fix bug in computation of snap-back position 2011-02-11 12:34:15 -05:00
docDisplay.js Don't switch to a workspace when dragging it to launch on that workspace 2011-02-08 19:43:21 -05:00
endSessionDialog.js Don't switch to a workspace when dragging it to launch on that workspace 2011-02-08 19:43:21 -05:00
environment.js environment: Fix runtime crash due to GTK+ change 2011-01-20 16:44:16 +01:00
extensionSystem.js ExtensionSystem: pass the metadata object to extensions 2011-02-13 13:57:36 +01:00
iconGrid.js Fix fuzziness for application icons 2011-02-11 16:21:11 -05:00
lightbox.js Clean up unused includes 2010-07-19 01:46:01 +02:00
link.js Clean up unused includes 2010-07-19 01:46:01 +02:00
lookingGlass.js lookingGlass: fix red border drawing in the inspector, port to JS 2011-02-10 16:04:16 -05:00
magnifier.js magnifier: crosshairs opacity is now a double 2011-02-13 02:23:53 +00:00
magnifierDBus.js Refactor Magnifier.ZoomRegion to avoid permanent Clutter.Clone 2010-12-03 14:21:57 -05:00
main.js Load extensions before the status area is started 2011-02-13 13:55:32 +01:00
messageTray.js MessageTray: fix showing and hiding summary notifications when summary items are clicked 2011-02-15 18:37:33 -05:00
modalDialog.js modalDialog: remove old actions from _actionKeys in setButtons 2011-02-01 23:41:28 +03:00
notificationDaemon.js Emit NotificationClosed for a notification iff we destroy it 2011-01-28 13:02:20 -05:00
overview.js overview: Make the dash public 2011-02-12 23:32:57 +01:00
panel.js panel: remove some leftover code from the old calendar 2011-02-15 17:12:47 -05:00
panelMenu.js panel-button: Set ':active' pseudo class when menu is open 2011-02-09 18:10:25 +01:00
placeDisplay.js placeDisplay: Fix another typo preventing place launching 2011-02-13 14:55:33 -05:00
popupMenu.js StThemeNode: use (out caller-allocates) on ClutterColor-returning methods 2011-02-14 10:49:26 -05:00
runDialog.js run-dialog: Center error message vertically 2011-01-27 22:05:46 +01:00
scripting.js Clean up unused includes 2010-07-19 01:46:01 +02:00
search.js search: return an empty list instead of null 2011-02-13 11:56:24 -05:00
searchDisplay.js Don't switch to a workspace when dragging it to launch on that workspace 2011-02-08 19:43:21 -05:00
shellDBus.js Clean up unused includes 2010-07-19 01:46:01 +02:00
statusIconDispatcher.js tray: fix so that trayicons using symbolic icons get the right colors 2011-02-07 10:01:12 -05:00
statusMenu.js statusMenu: temporarily drop Suspend menu item 2011-02-04 17:25:20 -05:00
telepathyClient.js telepathyClient: Support markup in the title of presence changes 2011-02-14 12:12:14 -05:00
tweener.js Move Tweener.slowDownFactor into St 2010-06-21 16:19:25 +02:00
viewSelector.js add ability to search in web from search view 2011-01-18 00:41:59 +03:00
windowAttentionHandler.js MessageTray: untangle click notifications 2010-10-12 17:21:58 -04:00
windowManager.js altTab: enable the switch_group keybinding action 2011-02-15 13:43:32 -05:00
workspace.js AppWellMenu: Remove window filtering 2011-02-14 23:07:27 +01:00
workspacesView.js AppWellMenu: Remove window filtering 2011-02-14 23:07:27 +01:00
workspaceSwitcherPopup.js workspaceSwitcher: Initially hide after creation 2011-02-10 00:16:32 +01:00
workspaceThumbnail.js workpaceThumbnail: Fix accidental propagation of button releases 2011-02-11 12:14:27 -05:00
xdndHandler.js XDND: Use only one constraint for the cursor window position 2011-01-26 20:41:26 +01:00