summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-file-operations.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c
index e6dcdb98..b77bdd7d 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:
;
}