diff --git a/kcmkwin/kwintabbox/layoutconfig.cpp b/kcmkwin/kwintabbox/layoutconfig.cpp index d982bcf564..b2a426685a 100644 --- a/kcmkwin/kwintabbox/layoutconfig.cpp +++ b/kcmkwin/kwintabbox/layoutconfig.cpp @@ -216,6 +216,9 @@ void LayoutModel::init() if (service->property("X-Plasma-API").toString() != "declarativeappletscript") { continue; } + if (service->property("X-KWin-Exclude-Listing").toBool()) { + continue; + } const QString scriptName = service->property("X-Plasma-MainScript").toString(); const QString scriptFile = KStandardDirs::locate("data", "kwin/tabbox/" + pluginName + "/contents/" + scriptName); if (scriptFile.isNull()) { diff --git a/tabbox/kwinwindowswitcher.desktop b/tabbox/kwinwindowswitcher.desktop index 4a575280f6..69df113ce5 100644 --- a/tabbox/kwinwindowswitcher.desktop +++ b/tabbox/kwinwindowswitcher.desktop @@ -9,3 +9,6 @@ Type=QString [PropertyDef::X-Plasma-MainScript] Type=QString + +[PropertyDef::X-KWin-Exclude-Listing] +Type=bool diff --git a/tabbox/qml/clients/window_strip/metadata.desktop b/tabbox/qml/clients/window_strip/metadata.desktop index d25cc54b92..a33ded874e 100644 --- a/tabbox/qml/clients/window_strip/metadata.desktop +++ b/tabbox/qml/clients/window_strip/metadata.desktop @@ -5,6 +5,7 @@ Icon=preferences-system-windows-switcher-window-strip X-Plasma-API=declarativeappletscript X-Plasma-MainScript=ui/main.qml +X-KWin-Exclude-Listing=true X-KDE-PluginInfo-Author=Martin Gräßlin X-KDE-PluginInfo-Email=mgraesslin@kde.org