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

