From d1b2a0e4d4a0eb89377d62bebbdbc1540fd4963a Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sat, 30 Oct 2021 23:41:13 +0300 Subject: [PATCH] effects: Fix blur and background contrast metadata The role of enabledByDefaultMethod was misinterpreted. It exists only for kcms so they can display undetermined state. EnabledByDefault should still be set to a valid value. --- src/effects/backgroundcontrast/metadata.json | 1 + src/effects/blur/metadata.json | 1 + 2 files changed, 2 insertions(+) diff --git a/src/effects/backgroundcontrast/metadata.json b/src/effects/backgroundcontrast/metadata.json index 2365d86634..dc44f00c45 100644 --- a/src/effects/backgroundcontrast/metadata.json +++ b/src/effects/backgroundcontrast/metadata.json @@ -16,6 +16,7 @@ "Description[vi]": "Cải thiện độ tương phản và tính dễ đọc phía sau các cửa sổ bán trong suốt", "Description[x-test]": "xxImprove contrast and readability behind semi-transparent windowsxx", "Description[zh_CN]": "增强半透明窗口背景区域内容的对比度,改善其可读性", + "EnabledByDefault": true, "Id": "contrast", "License": "GPL", "Name": "Background contrast", diff --git a/src/effects/blur/metadata.json b/src/effects/blur/metadata.json index 94bac65880..ca4c9aa6a3 100644 --- a/src/effects/blur/metadata.json +++ b/src/effects/blur/metadata.json @@ -16,6 +16,7 @@ "Description[vi]": "Làm mờ phần nền phía sau các cửa sổ bán trong suốt", "Description[x-test]": "xxBlurs the background behind semi-transparent windowsxx", "Description[zh_CN]": "对半透明窗口的背景进行虚化处理", + "EnabledByDefault": true, "Id": "blur", "License": "GPL", "Name": "Blur",