gnome-shell/js/ui
Cosimo Cecchi cea946e745 search: don't forget to notify caller when failing to ensure actors
The updateSearch() function is called in SearchResults every time new
search hits are available from a search provider; SearchResults will
wait for updateSearch() to complete in a callaback, to update the
overall progress of the search operation.

updateSearch() will call _ensureResultActors(), which will in turn call
getResultMetas() on the search provider, which is an operation that can
fail arbitrarily or return inconsistent data, as it's entirely in the
hands of the search provider.

In case _ensureResultActors() returns a failure, updateSearch() is
currently failing to notify the passed-in callback, which might leave
SearchResults in an inconsistent state: make sure the asynchronous flow
always ends up with a notification to the updateSearch() callback.
2015-01-07 15:26:21 -08:00
..
components Use LC_TIME locale for strftime format string translations 2014-10-16 23:41:51 +02:00
status Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
altTab.js switcher: Remove some unused variables 2014-11-27 13:30:20 +00:00
animation.js st: always use GFile internally 2014-10-14 18:53:39 -07:00
appDisplay.js Move style updates in AppIcon._onStateChanged out 2014-11-06 21:22:33 +01:00
appFavorites.js appFavorites: Add gnome-boxes to the rename list 2014-09-16 17:14:36 +02:00
background.js BackgroundCache: plug an Animation object leak 2014-10-27 17:50:41 +01:00
backgroundMenu.js backgroundMenu: Allow for long presses on touch devices 2014-07-24 18:15:02 +02:00
boxpointer.js boxpointer: Add condition checks for -arrow-rise:0px 2014-01-15 18:28:31 +01:00
calendar.js Calendar: ignore timeouts starting the calendar-server 2014-12-14 17:18:16 -08:00
checkBox.js checkBox: Remove custom container implementation 2013-08-20 08:06:30 +02:00
ctrlAltTab.js switcherPopup: Factor the initial selection into the base class 2014-09-11 19:12:17 +02:00
dash.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
dateMenu.js environment: Define N_() globally 2014-11-13 12:26:33 +00:00
dnd.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
edgeDragAction.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
endSessionDialog.js endSessionDialog: Fix DialogContent const 2014-09-11 17:05:48 +01:00
environment.js environment: Define N_() globally 2014-11-13 12:26:33 +00:00
extensionDownloader.js Set style classes for extension download dialog 2014-11-10 18:58:12 -05:00
extensionSystem.js theme: convert stylesheet loading to GFile 2014-10-14 18:54:00 -07:00
focusCaretTracker.js a11y: initialize atspi on demand 2014-06-20 14:32:55 +02:00
grabHelper.js grabHelper: Adjust to property name change 2014-08-28 19:49:51 +02:00
ibusCandidatePopup.js ibusCandidatePopup: Fix default candidate index labels 2014-07-08 11:31:15 +02:00
iconGrid.js iconGrid: Fix slowness on pulse animation for few items 2014-10-09 12:47:16 +02:00
keyboard.js keyboard: Delay caribou daemon invocation until really needed 2014-11-08 06:49:17 +09:00
layout.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
lightbox.js lightbox: Do not assume GLSL is available 2014-07-24 16:51:02 +02:00
lookingGlass.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
magnifier.js Fix handling of SystemBackground 2014-10-16 17:16:06 -04:00
magnifierDBus.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
main.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
messageTray.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
modalDialog.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
notificationDaemon.js notificationDaemon: Group tray icon stuff together 2014-07-08 15:39:46 -04:00
osdWindow.js osdWindow: Check monitor validity before updating 2014-05-08 11:14:23 +02:00
overview.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
overviewControls.js overviewControls: Really fix x align 2014-10-10 11:16:35 +02:00
panel.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
panelMenu.js popupMenu: Handle key-press events on sourceActor 2014-08-28 19:12:48 +02:00
pointerWatcher.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
popupMenu.js popupMenu: Adjust submenu arrows to RTL icon changes 2014-09-09 19:48:41 +02:00
remoteMenu.js popupMenu: Remove our custom allocation code 2013-08-13 06:50:25 -04:00
remoteSearch.js search: add support for default disabled search providers 2014-08-19 15:29:22 +02:00
runDialog.js runDialog: catch the case where no completion is available 2014-08-19 09:39:51 -07:00
screencast.js screencast: Re-add lockdown support 2014-10-03 17:08:56 +02:00
screenShield.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
screenshot.js screenshot: Respect lockdown settings 2014-10-03 17:08:56 +02:00
scripting.js shell-perf-helper: Add an option for continual redraws 2014-07-16 10:33:59 -04:00
search.js search: don't forget to notify caller when failing to ensure actors 2015-01-07 15:26:21 -08:00
separator.js js: Explicitly dispose all cairo contexts 2013-01-08 13:07:51 -05:00
sessionMode.js sessionMode: Don't set overridesSchema 2014-06-09 22:39:15 +02:00
shellDBus.js shellDBus: Add mode parameter to AcceleratorActivated signal 2014-12-19 14:11:55 +01:00
shellEntry.js shellEntry: Remove unused style class 2014-09-05 14:37:18 -07:00
shellMountOperation.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
slider.js slider: React to touch events 2014-07-24 18:15:02 +02:00
switcherPopup.js switcher: Remove some unused variables 2014-11-27 13:30:20 +00:00
tweener.js tweener: Also consider delay when disabling animations 2014-08-19 19:46:44 +02:00
unlockDialog.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
userWidget.js userWidget: Respect the scale factor in the bin size we set 2014-10-06 17:02:04 -07:00
viewSelector.js Rename KeyBindingMode to ActionMode 2014-12-19 11:39:50 +01:00
windowAttentionHandler.js Use recommended quotes 2014-01-17 16:34:44 -05:00
windowManager.js windowManager: Make sure to reset the resizePopup after using it 2015-01-02 09:33:20 -08:00
windowMenu.js windowMenu: Only disable "Always on Top" for fully maximized 2014-09-25 23:10:03 +02:00
workspace.js Use MetaWindow.get_frame_rect() 2014-10-09 12:17:15 +02:00
workspacesView.js overview: Use a MetaWindow argument in window-drag-* signals/API 2014-09-12 00:57:40 +02:00
workspaceSwitcherPopup.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
workspaceThumbnail.js Use MetaWindow.get_frame_rect() 2014-10-09 12:17:15 +02:00
xdndHandler.js Remove use of superfluous MetaWindowActor APIs 2013-12-16 12:48:53 -05:00