From 2ecba51249cb9f19020065de7c40af203ade39df Mon Sep 17 00:00:00 2001 From: liuxinhao Date: Thu, 8 Sep 2022 16:19:33 +0800 Subject: [PATCH] Fix the open terminal can not correct to terminal icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复打开终端插件,打开后图标显示文件管理器的图标问题 --- ...minal-can-not-correct-to-te-29a720a6.patch | 33 +++++++++++++++++++ caja.spec | 5 ++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 1084-fix-caja-Fix-the-open-terminal-can-not-correct-to-te-29a720a6.patch diff --git a/1084-fix-caja-Fix-the-open-terminal-can-not-correct-to-te-29a720a6.patch b/1084-fix-caja-Fix-the-open-terminal-can-not-correct-to-te-29a720a6.patch new file mode 100644 index 0000000..5dc41cd --- /dev/null +++ b/1084-fix-caja-Fix-the-open-terminal-can-not-correct-to-te-29a720a6.patch @@ -0,0 +1,33 @@ +From 29a720a6c6abcf2ab3afeabcc5effef425845e1c Mon Sep 17 00:00:00 2001 +From: wangxiaoqing +Date: Wed, 12 Jan 2022 08:56:02 +0600 +Subject: [PATCH 1084/1085] fix(caja): Fix the open terminal can not correct to + terminal icon +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- 修复从文件管理器打开终端时,图标无法对应上的问题 + Related #48474 + +Signed-off-by: wangxiaoqing +--- + src/caja-main.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/caja-main.c b/src/caja-main.c +index 1fa77c2..1eab994 100644 +--- a/src/caja-main.c ++++ b/src/caja-main.c +@@ -251,6 +251,8 @@ main (int argc, char *argv[]) + mallopt (M_MMAP_THRESHOLD, 128 *1024); + #endif + ++ g_unsetenv("GIO_LAUNCHED_DESKTOP_FILE"); ++ + if (g_getenv ("CAJA_DEBUG") != NULL) { + eel_make_warnings_and_criticals_stop_in_debugger (); + } +-- +2.27.0 + diff --git a/caja.spec b/caja.spec index d1bd5dd..e7e23fe 100755 --- a/caja.spec +++ b/caja.spec @@ -16,7 +16,7 @@ Name: caja Summary: File manager for MATE Version: %{branch}.1 %if 0%{?rel_build} -Release: 10 +Release: 11 %else Release: 0.15%{?git_rel} %endif @@ -191,6 +191,9 @@ EOF %changelog +* Thu Sep 08 2022 liuxinhao - 1.24.1-11 +- Fix the open terminal can not correct to terminal icon(#I5Q5ME) + * Fri Sep 02 2022 wangxiaoqing - 1.24.1-10 - Add Chinese name translation to desktop files