diff options
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-file-operations.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c index dbf5734c..ff177808 100644 --- a/libcaja-private/caja-file-operations.c +++ b/libcaja-private/caja-file-operations.c @@ -65,6 +65,7 @@ #include "caja-file-utilities.h" #include "caja-file-conflict-dialog.h" #include "caja-undostack-manager.h" +#include "caja-metadata.h" /* TODO: TESTING!!! */ @@ -6694,6 +6695,12 @@ mark_desktop_file_trusted (CommonJob *common, } } g_object_unref (info); + + g_file_set_attribute_string (file, + "metadata::" CAJA_METADATA_KEY_TRUSTED_LAUNCHER, "true", + G_FILE_QUERY_INFO_NONE, + cancellable, + NULL); out: ; } |