nautilus/test
Carlos Soriano ff6ccbaf40 search: done loading signal only if not restarting engine
It was working as:
- Search directory starts a new search
- Search engine starts all search providers, each one in its
own thread.
- User changes query
- Search engine stops all search providers
- Searchs providers, since they are in its own thread, cancel
in a unknown time.
- Search directory starts a new search, even before all providers
are finished.
- Search engine is marked as need to restart.
- Search providers finished.
- Search engine emits finished signal, since all search providers
now are stopped.
- Clients doesn't have a way to know if the engine
actually finished searching the current search, or the previous
search that the client asked to stop. That might confuse clients
if they ask for results.
- Search engine restart the search providers without noticing the
client, that thinks that the latest search it started was finished
already.

So to fix this confusion, only report that the engine actually finished
if the engine is not going to restart the search providers.
In this way a client can start a batch of consecutive searches without
the risk of getting search finished signals from previous searches.
Clients now will always get the search-finished signal of the
latest search they started.
2015-07-22 13:02:04 +02:00
..
file-torture.py Don't mention FSF address 2014-02-17 14:41:43 -08:00
Makefile.am eel: remove unused EelEditableLabel 2015-05-23 12:14:32 -07:00
test-copy.c operations: implement new design 2015-07-17 00:45:39 +02:00
test-eel-background.c Remove other deprecated GTK+ symbols 2009-04-22 00:38:43 +02:00
test-nautilus-directory-async.c Update directory async test case 2012-08-08 15:55:29 -04:00
test-nautilus-mime-actions-set.c Updated FSF's address 2014-01-31 14:13:48 +01:00
test-nautilus-mime-actions.c Updated FSF's address 2014-01-31 14:13:48 +01:00
test-nautilus-search-engine.c search: done loading signal only if not restarting engine 2015-07-22 13:02:04 +02:00
test.c background: refactor code into NautilusDesktopBackground 2010-10-09 15:41:41 +02:00
test.h Added. Added. Added. Added. Added. Added. Added. Import eel tests 2008-12-15 18:14:31 +00:00