GNOME Bugzilla – Bug 737473
Trash backend doesn't ignore G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT
Last modified: 2014-10-01 06:41:10 UTC
The trash backend doesn't ignore G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT which generates a spurious warning like: ** (process:3547): WARNING **: *** Unsupported operation detected on trash directory ** (process:3547): WARNING **: A trash files/ directory should only have files linked or unlinked (via moves or deletes). Some other operation has been detected on a file in the directory (eg: a file has been modified). Likely, the data reported by the trash backend will now be inconsistent. ** (process:3547): WARNING **: dir: /home/ross/.local/share/Trash/files, file: testfile2, type: 1
Created attachment 287236 [details] [review] trash: Ignore G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT Ignore G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT when to prevent generating a spurious warning about unsupported operations on the trash dir.
Review of attachment 287236 [details] [review]: Looks good!
Pushed to master as 1f2d2952135a1304b0ed66da1d3d8f60f1e1c06e. Thanks for the review!