diff --git a/containment/package/contents/code/AppletIdentifier.js b/containment/package/contents/code/AppletIdentifier.js index f3807037..556b3739 100644 --- a/containment/package/contents/code/AppletIdentifier.js +++ b/containment/package/contents/code/AppletIdentifier.js @@ -1,211 +1,212 @@ - -var blacklistedApplets = ["com.github.zren.presentwindows"]; +//! applets that havent identified properly their Latte behavior and +//! create broken results when used in Latte +var blacklistedApplets = []; function typeOf(obj, className){ var name = obj.toString(); //if (applet.pluginName === "org.kde.plasma.kicker") //"set a plugin name to debug" // console.log(name); return ((name.indexOf(className + "(") === 0) || (name.indexOf(className + "_QML") === 0)); } function reconsiderAppletIconItem(){ if (container.appletIconItem || !applet || container.disableLatteParabolicIconHeuristics) return; //! searching to find for that applet the first IconItem //! which is going to be used in order to deactivate its active //! from our MouseArea if (applet.pluginName === "org.kde.plasma.kickoff") { identifyKickOff(); } else if (applet.pluginName === "org.kde.plasma.kicker") { identifyKicker(); } else if (applet.pluginName === "org.kde.plasma.simplemenu") { identifySimpleMenu(); } else if (applet.pluginName === "org.kde.plasma.userswitcher"&& !root.behaveAsPlasmaPanel && !container.lockZoom) { identifyUserSwitcher(); } else if (applet.pluginName === "org.kde.comexpertise.plasma.kdeconnect.sms") { identifyKdeConnectSms(); } else if (applet.pluginName === "org.kde.redshiftControl") { //blacklist } else { identifyGeneric(); } } function identifyGeneric() { if (blacklistedApplets.indexOf(applet.pluginName) >= 0) { return; } var level0 = applet.children; for(var i=0; i