diff options
Diffstat (limited to 'libcaja-private/caja-directory-async.c')
-rw-r--r-- | libcaja-private/caja-directory-async.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libcaja-private/caja-directory-async.c b/libcaja-private/caja-directory-async.c index 874667d3..5a093a5d 100644 --- a/libcaja-private/caja-directory-async.c +++ b/libcaja-private/caja-directory-async.c @@ -35,6 +35,7 @@ #include "caja-file-attributes.h" #include "caja-file-private.h" #include "caja-file-utilities.h" +#include "caja-metadata.h" #include "caja-signaller.h" #include "caja-global-preferences.h" #include "caja-link.h" @@ -3871,6 +3872,13 @@ is_link_trusted (CajaFile *file, is_trusted_system_desktop_file (location) || caja_is_in_desktop_dir (location); + if (!res) + { + res = caja_file_get_boolean_metadata (file, + CAJA_METADATA_KEY_TRUSTED_LAUNCHER, + FALSE); + } + g_object_unref (location); } |