ok, got those changes in there. It'll wait and display "did you mean.." until there is actually something to show and only if it's different from what the user originally searched for. BTW, I'm not sure tracker_cancel_last_call is working. I dropped the timeout to 1ms and the suggestion still comes in. On 3/4/07, jamie <jamiemcc blueyonder co uk> wrote:
On Sun, 2007-03-04 at 23:36 +0100, Michael Biebl wrote: > [..] > > 5) If tracker_search_suggest returns 0 results, it shows the string > "Did you mean" and an empty button (you can notice it by hovering over > it). I'd suggest to show nothing if you get 0 suggestions. (This only > seems to happen btw. if the computer is busy. Otherwise I get original > search term as suggestion again. Is there a timeout somewhere?) > yes a timeout would be good - easy to do with an async call (just call tracker_cancel_last_call on timeout) can you put a 1 second timeout on it pls thanks jamie.
Attachment:
tracker-suggests2.patch
Description: Text Data