From 4f2a8711a4d050b5b3ef01a4d0f195e76afeee99 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Tue, 9 Jul 2019 11:57:30 +0530 Subject: [PATCH] Hide some of kwin kcm on mobile Summary: - Window decorations, useless, since we use maximized and borderless windows - Virtual Desktop, odd concept to be useful on mobile - KWin Effects, doesn't have much of usecase on mobile Reviewers: nicolasfella, davidedmundson Reviewed By: davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D22336 --- kcmkwin/kwindecoration/kwindecoration.desktop | 2 ++ kcmkwin/kwindecoration/package/metadata.desktop | 1 + kcmkwin/kwindesktop/package/metadata.desktop | 1 + kcmkwin/kwineffects/kcm_kwin_effects.desktop | 2 ++ kcmkwin/kwineffects/package/metadata.desktop | 1 + 5 files changed, 7 insertions(+) diff --git a/kcmkwin/kwindecoration/kwindecoration.desktop b/kcmkwin/kwindecoration/kwindecoration.desktop index 93695dcab3..02ea16eb38 100644 --- a/kcmkwin/kwindecoration/kwindecoration.desktop +++ b/kcmkwin/kwindecoration/kwindecoration.desktop @@ -11,6 +11,8 @@ X-KDE-System-Settings-Parent-Category=applicationstyle X-KDE-Weight=40 X-DocPath=kcontrol/kwindecoration/index.html +X-KDE-FormFactors=desktop,tablet + Name=Window Decorations Name[ar]=زخارف النوافذ Name[bg]=Декорации на прозорците diff --git a/kcmkwin/kwindecoration/package/metadata.desktop b/kcmkwin/kwindecoration/package/metadata.desktop index 3bcc0d3010..b80a8449f7 100644 --- a/kcmkwin/kwindecoration/package/metadata.desktop +++ b/kcmkwin/kwindecoration/package/metadata.desktop @@ -13,6 +13,7 @@ X-KDE-PluginInfo-Website=https://www.kde.org/plasma-desktop X-KDE-ServiceTypes=Plasma/Generic X-Plasma-API=declarativeappletscript X-Plasma-MainScript=ui/main.qml +X-KDE-FormFactors=desktop,tablet Name=Window Decorations Name[ar]=زخارف النوافذ diff --git a/kcmkwin/kwindesktop/package/metadata.desktop b/kcmkwin/kwindesktop/package/metadata.desktop index 107c376896..4976822254 100644 --- a/kcmkwin/kwindesktop/package/metadata.desktop +++ b/kcmkwin/kwindesktop/package/metadata.desktop @@ -112,5 +112,6 @@ X-KDE-PluginInfo-License=GPL X-KDE-PluginInfo-Name=kcm_kwin_virtualdesktops X-KDE-ServiceTypes=Plasma/Generic X-Plasma-API=declarativeappletscript +X-KDE-FormFactors=desktop X-Plasma-MainScript=ui/main.qml diff --git a/kcmkwin/kwineffects/kcm_kwin_effects.desktop b/kcmkwin/kwineffects/kcm_kwin_effects.desktop index 2de9a82a63..5b12991ea2 100644 --- a/kcmkwin/kwineffects/kcm_kwin_effects.desktop +++ b/kcmkwin/kwineffects/kcm_kwin_effects.desktop @@ -12,6 +12,8 @@ X-KDE-ParentApp=kcontrol X-KDE-System-Settings-Parent-Category=desktopbehavior X-KDE-Weight=50 +X-KDE-FormFactors=desktop,tablet + Name=Desktop Effects Name[bs]=Efekti površi Name[ca]=Efectes d'escriptori diff --git a/kcmkwin/kwineffects/package/metadata.desktop b/kcmkwin/kwineffects/package/metadata.desktop index 747c3f6d4e..19485adbf5 100644 --- a/kcmkwin/kwineffects/package/metadata.desktop +++ b/kcmkwin/kwineffects/package/metadata.desktop @@ -98,5 +98,6 @@ X-KDE-PluginInfo-License=GPL X-KDE-PluginInfo-Name=kcm_kwin_effects X-KDE-ServiceTypes=Plasma/Generic X-Plasma-API=declarativeappletscript +X-KDE-FormFactors=desktop,tablet X-Plasma-MainScript=ui/main.qml