5 Star 0 Fork 17

src-openEuler/caja

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0003-fix-libegg-caja-not-register-for-root-in-MATE-deskto.patch 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
tangjie02 提交于 2022-06-23 14:46 . - Support kiran desktop environment.
From 0b2176a539338466dda802b06fcd7589d51ceef5 Mon Sep 17 00:00:00 2001
From: tangjie02 <tangjie02@kylinos.com.cn>
Date: Thu, 7 May 2020 00:06:50 +0800
Subject: [PATCH 3/3] fix(libegg): caja not register for root in MATE desktop
before session manager timeout
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修复caja在root登录时未向mate-session-manager进行注册导致mate-session-manager长时间等待(30秒)的问题
Signed-off-by: tangjie02 <tangjie02@kylinos.com.cn>
---
libegg/eggsmclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libegg/eggsmclient.c b/libegg/eggsmclient.c
index 3113e6b..f8c35e1 100644
--- a/libegg/eggsmclient.c
+++ b/libegg/eggsmclient.c
@@ -368,7 +368,7 @@ egg_sm_client_get (void)
as egg_sm_client_set_mode must be called prior to start of main loop
to stop caja restart but this is diffcult in GtkApplication */
- if (geteuid () == 0 || !(running_in_mate () || running_in_kiran ())){
+ if (!(running_in_mate () || running_in_kiran ())){
global_client = g_object_new (EGG_TYPE_SM_CLIENT, NULL);
}
}
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/caja.git
git@gitee.com:src-openeuler/caja.git
src-openeuler
caja
caja
master

搜索帮助