mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-07 09:18:03 +03:00
identify kickofflegacy applet properly
This commit is contained in:
parent
9a85283cd7
commit
d504473b56
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user