plasma-framework/plasma/scripting
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
..
appletscript.cpp setFailedToLaunch -> setLaunchErrorMessage 2013-02-12 20:07:23 +01:00
appletscript.h setFailedToLaunch -> setLaunchErrorMessage 2013-02-12 20:07:23 +01:00
dataenginescript.cpp subtree merge of kdelibs/plasma into plasma 2013-01-30 13:43:33 +01:00
dataenginescript.h subtree merge of kdelibs/plasma into plasma 2013-01-30 13:43:33 +01:00
runnerscript.cpp subtree merge of kdelibs/plasma into plasma 2013-01-30 13:43:33 +01:00
runnerscript.h subtree merge of kdelibs/plasma into plasma 2013-01-30 13:43:33 +01:00
scriptengine.cpp subtree merge of kdelibs/plasma into plasma 2013-01-30 13:43:33 +01:00
scriptengine.h subtree merge of kdelibs/plasma into plasma 2013-01-30 13:43:33 +01:00