kiran-control-panel/0001-fix-wallpaper-change-system-wallpaper-xml-path-to-ki.patch
yuanxing b7a3fc65f7 fix(wallpaper):change the system wallpaper xml search path to kiran,and solve the segmentation fault when system xml not exists
- 修改系统壁纸xml文件搜索路径为kiran,并解决该文件不存在时带来的段错误
2023-08-25 14:02:44 +08:00

30 lines
1.2 KiB
Diff

From bb700629b3b1246b8c23be4f0739a46850685eb5 Mon Sep 17 00:00:00 2001
From: yuanxing <yuanxing@kylinsec.com.cn>
Date: Fri, 25 Aug 2023 10:49:36 +0800
Subject: [PATCH] fix(wallpaper):change system wallpaper xml path to kiran
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修改获取的系统壁纸xml文件路径为kiran
---
plugins/appearance/src/pages/wallpaper/wallpaper-def.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/appearance/src/pages/wallpaper/wallpaper-def.h b/plugins/appearance/src/pages/wallpaper/wallpaper-def.h
index d27c921..adefaf9 100644
--- a/plugins/appearance/src/pages/wallpaper/wallpaper-def.h
+++ b/plugins/appearance/src/pages/wallpaper/wallpaper-def.h
@@ -30,7 +30,7 @@ enum WallpaperType
#define SYSTEM_BACKGROUND_PATH "/usr/share/backgrounds/kiran/"
#define LOCAL_WALLPAPER_FILE ".config/kylinsec/kiran-cpanel-appearance/wallpaper.xml"
-#define SYSTEM_WALLPAPER_FILE "/usr/share/mate-background-properties/kiran_background.xml"
+#define SYSTEM_WALLPAPER_FILE "/usr/share/kiran-background-properties/kiran_background.xml"
#define CACHE_IMAGE_DIR ".config/kylinsec/kiran-cpanel-appearance/"
#define FILENAME "filename"
--
2.27.0