wok diff libfm/stuff/patches/fm-file-info.c-1.3.1 @ rev 25543

linux-cloop: update cloop.u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 11 12:33:53 2023 +0000 (15 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libfm/stuff/patches/fm-file-info.c-1.3.1	Sat Mar 11 12:33:53 2023 +0000
     1.3 @@ -0,0 +1,10 @@
     1.4 +--- src/base/fm-file-info.c.orig
     1.5 ++++ src/base/fm-file-info.c
     1.6 +@@ -1385,6 +1385,7 @@
     1.7 +     else if(strcmp(type, "application/x-desktop") == 0)
     1.8 +     { /* treat desktop entries as executables if
     1.9 +          they are native and have read permission */
    1.10 ++         return FALSE;
    1.11 +         if(fm_path_is_native(fi->path) && (fi->mode & (S_IRUSR|S_IRGRP|S_IROTH)))
    1.12 +         {
    1.13 +             if (fi->shortcut && fi->target) {