Comment 30 for bug 880533

(In reply to Harald Judt from comment #15)
> Created attachment 6252 [details]
> fix-loading-the-trash-bin-status-at-startup-bug-9513.patch
>
> This is probably a better version of the patch. Instead of putting the
> checks into thunar_file_get, which could be called quite often for folders
> that contain a lot of files, put it into the main function which gets called
> only once per thunar instance.

Applied the second version of the patch and it fixes the issue for me. No side effects so far.