Sets the "safety flag" on if is_trusted.
Safety flag is a new concept introduced in XFCE 4.17. It is basically an additional execution flag stored in GVFS-metadata. Unlike the execution flag (+x), it is safe to assume that this flag did not come from foreign location (for example, by downloading an tar archive) and is set by user.
The checksum of the file is stored, and would be considered "on" only if checksum matches with the file on execution.
| file |
a File. |
| is_trusted |
|
| cancellable |
optional Cancellable object, null to ignore. |
|
true on success, false on error. |