diff --git a/scriptengines/javascript/simplejavascriptapplet.cpp b/scriptengines/javascript/simplejavascriptapplet.cpp index 6464f806a..c3681b9f8 100644 --- a/scriptengines/javascript/simplejavascriptapplet.cpp +++ b/scriptengines/javascript/simplejavascriptapplet.cpp @@ -329,7 +329,15 @@ void SimpleJavaScriptApplet::constraintsEvent(Plasma::Constraints constraints) } if (constraints & Plasma::ContextConstraint) { - callFunction("contextChanged"); + callFunction("currentActivityChanged"); + } + + if (constraints & Plasma::SizeConstraint) { + callFunction("sizeChanged"); + } + + if (constraints & Plasma::ImmutableConstraint) { + callFunction("immutabilityChanged"); } }