Provide file chooser API to hide the trash similar to gtk_places_sidebar_set_show_trash
@pksadiq
Submitted by Mohammed Sadiq Link to original bug (#771509)
Description
When a file is copied/moved, Trash is listed in the destination list, which shouldn't happen.
How to reproduce:
- Select some file -> Right click -> Copy to/ Move to.
Result: Trash is listed in the sidebar, But the copy/move fails as expected (since trash doesn't support those operations).
Expected result: Don't list trash in the sidebar
Version: 3.22.x