From e794e3d4b2156530987baa5ea1b58000aa4b5328 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Oct 10 2021 13:20:40 +0000 Subject: Fix Caja does not show icons in applications folder --- diff --git a/caja.spec b/caja.spec index 8b9a058..58171a1 100644 --- a/caja.spec +++ b/caja.spec @@ -16,7 +16,7 @@ Name: caja Summary: File manager for MATE Version: %{branch}.0 %if 0%{?rel_build} -Release: 1%{?dist} +Release: 2%{?dist} %else Release: 0.14%{?git_rel}%{?dist} %endif @@ -30,6 +30,8 @@ URL: http://mate-desktop.org %{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}} Patch0: caja_add-xfce-to-desktop-file-1.26.patch +# https://github.com/mate-desktop/caja/pull/1563 +Patch1: caja_0001-Fix-Caja-does-not-show-icons-of-applications-in-usr-.patch BuildRequires: dbus-glib-devel BuildRequires: desktop-file-utils @@ -181,6 +183,10 @@ EOF %changelog +* Sun Oct 10 2021 Wolfgang Ulbrich - 1.26.0-2 +- fix https://github.com/mate-desktop/caja/issues/1562 +- use https://github.com/mate-desktop/caja/pull/1563 + * Wed Aug 04 2021 Wolfgang Ulbrich - 1.26.0-1 - update to 1.26.0 diff --git a/caja_0001-Fix-Caja-does-not-show-icons-of-applications-in-usr-.patch b/caja_0001-Fix-Caja-does-not-show-icons-of-applications-in-usr-.patch new file mode 100644 index 0000000..39bbb66 --- /dev/null +++ b/caja_0001-Fix-Caja-does-not-show-icons-of-applications-in-usr-.patch @@ -0,0 +1,27 @@ +From 20f8ec35980b1872b62bf643b339c715fe141c79 Mon Sep 17 00:00:00 2001 +From: zhuyaliang <15132211195@163.com> +Date: Sat, 9 Oct 2021 22:58:07 +0800 +Subject: [PATCH] Fix Caja does not show icons of applications in + /usr/share/applications and asks user for confirmation on launch of + desktop-files here + +--- + libcaja-private/caja-directory-async.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libcaja-private/caja-directory-async.c b/libcaja-private/caja-directory-async.c +index 0c9a6ba7..8a9c021c 100644 +--- a/libcaja-private/caja-directory-async.c ++++ b/libcaja-private/caja-directory-async.c +@@ -3850,7 +3850,7 @@ is_link_trusted (CajaFile *file, + return TRUE; + } + +- if (caja_file_can_execute (file) && caja_file_is_local (file)) ++ if (caja_file_is_local (file)) + { + GFile *location; + +-- +2.31.1 +