plasma-framework/scriptengines/javascript/plasmoid
Marco Martin de4fa09a6d setFailedToLaunch -> setLaunchErrorMessage
setFailedToLaunch has a weird asymmetric api: now launchErrorMessage is a string property.
failedToLaunch remains and is internally set true the first time a message is set (is not posssible to set it back to false)

the message is in turn used by the scriptengine for the user visible error message.
It is done in 2 places:

if the applet package is invalid (applet not found) the message is created by the containment
if the applet package is valid, but there is a parse error in the qml file the error message is generated by the scriptengine of the applet itself.

I'm still really not happy about how the error ui is generated.
2013-02-12 20:07:23 +01:00
..
abstractjsappletscript.cpp first important part for the ml bindings merge: 2010-10-13 16:12:43 +00:00
abstractjsappletscript.h a simple binding for scripted containments 2011-02-20 19:45:40 +01:00
appletauthorization.cpp setFailedToLaunch -> setLaunchErrorMessage 2013-02-12 20:07:23 +01:00
appletauthorization.h first important part for the ml bindings merge: 2010-10-13 16:12:43 +00:00
appletinterface.cpp setFailedToLaunch -> setLaunchErrorMessage 2013-02-12 20:07:23 +01:00
appletinterface.h remove the aspectRatioMode property 2013-02-11 19:32:41 +01:00
declarativeappletscript.cpp Split messages with \n 2013-01-10 05:01:59 +01:00
declarativeappletscript.h ToolBox bindings for declarative containments 2012-11-07 17:21:26 +01:00
jsappletinterface.cpp first important part for the ml bindings merge: 2010-10-13 16:12:43 +00:00
simplejavascriptapplet.cpp setFailedToLaunch -> setLaunchErrorMessage 2013-02-12 20:07:23 +01:00
simplejavascriptapplet.h a simple binding for scripted containments 2011-02-20 19:45:40 +01:00
themedsvg.cpp fix a small hole whereby a JS applet could load any SVG from disk (or any file, for that matter, though not gain any access to the data therein) instead of being confined just to its package(s) and the Plasma::Theme 2010-09-24 22:51:16 +00:00
themedsvg.h fix a small hole whereby a JS applet could load any SVG from disk (or any file, for that matter, though not gain any access to the data therein) instead of being confined just to its package(s) and the Plasma::Theme 2010-09-24 22:51:16 +00:00