well that was an easy fix: make scripts work in apps !plasma, e.g. plasmoidviewer
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776978
This commit is contained in:
parent
b6767e1e39
commit
2aa51ef338
@ -129,8 +129,9 @@ public:
|
|||||||
// we have a scripted plasmoid
|
// we have a scripted plasmoid
|
||||||
if (!language.isEmpty()) {
|
if (!language.isEmpty()) {
|
||||||
// find where the Package is
|
// find where the Package is
|
||||||
QString path = KStandardDirs::locate("appdata",
|
QString path = KStandardDirs::locate("data",
|
||||||
"plasmoids/" + appletDescription.pluginName() + '/');
|
"plasma/plasmoids/" + appletDescription.pluginName() +
|
||||||
|
"/");
|
||||||
|
|
||||||
if (path.isEmpty()) {
|
if (path.isEmpty()) {
|
||||||
applet->setFailedToLaunch(true, i18n("Could not locate the %1 package required for the %2 widget.",
|
applet->setFailedToLaunch(true, i18n("Could not locate the %1 package required for the %2 widget.",
|
||||||
|
Loading…
Reference in New Issue
Block a user