5393aa Hide spinner from single place

1 file Authored by Lubomír Sedlář 7 years ago , Committed by Pierre-Yves Chibon 7 years ago ,
    Hide spinner from single place
    
    Instead of each data display callback having to care about hiding
    spinner we can do it from the calling function. Now `wait_for_task` will
    wait for the task to finish and then hide the spinner automatically.