plasma-framework/scriptengines/qml
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
..
common get rid of declarativescriptenv 2013-02-06 17:42:35 +01:00
data SVN_SILENT made messages (.desktop file) 2013-02-05 16:58:16 +01:00
declarative show an error message on QML parse error 2013-02-12 15:57:42 +01:00
plasmoid setFailedToLaunch -> setLaunchErrorMessage 2013-02-12 20:07:23 +01:00
CMakeLists.txt remove Applet::hasAuthorization() 2013-02-12 12:18:42 +01:00
Messages.sh fix messages.sh 2013-02-05 20:28:50 +01:00