Fix the open terminal can not correct to terminal icon
- 修复打开终端插件,打开后图标显示文件管理器的图标问题
This commit is contained in:
parent
eedd3214b5
commit
2ecba51249
@ -0,0 +1,33 @@
|
||||
From 29a720a6c6abcf2ab3afeabcc5effef425845e1c Mon Sep 17 00:00:00 2001
|
||||
From: wangxiaoqing <wangxiaoqing@kylinos.com.cn>
|
||||
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 <wangxiaoqing@kylinos.com.cn>
|
||||
---
|
||||
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
|
||||
|
||||
@ -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 <liuxinhao@kylinsec.com.cn> - 1.24.1-11
|
||||
- Fix the open terminal can not correct to terminal icon(#I5Q5ME)
|
||||
|
||||
* Fri Sep 02 2022 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 1.24.1-10
|
||||
- Add Chinese name translation to desktop files
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user