From 3769cef501c88d9be63087a0f852dd3a41e973fe Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 22 Oct 2021 19:30:38 +0300 Subject: [PATCH] identify kickofflegacy applet properly --- containment/package/contents/code/AppletIdentifier.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/containment/package/contents/code/AppletIdentifier.js b/containment/package/contents/code/AppletIdentifier.js index 4665b1788..ceed22e62 100644 --- a/containment/package/contents/code/AppletIdentifier.js +++ b/containment/package/contents/code/AppletIdentifier.js @@ -24,7 +24,8 @@ function reconsiderAppletIconItem(){ //! which is going to be used in order to deactivate its active //! from our MouseArea - if (applet.pluginName === "org.kde.plasma.kickoff") { + if (applet.pluginName === "org.kde.plasma.kickoff" + || applet.pluginName === "org.kde.plasma.kickofflegacy") { identifyKickOff(); } else if (applet.pluginName === "org.kde.plasma.kicker") { identifyKicker(); @@ -119,8 +120,10 @@ function identifyKdeConnectSms() } function identifyKickOff() { - if (applet.pluginName !== "org.kde.plasma.kickoff") + if (applet.pluginName !== "org.kde.plasma.kickoff" + && applet.pluginName !== "org.kde.plasma.kickofflegacy") { return; + } var level0 = applet.children;