backport of r1077904:

changing names works better when you change all instances ;)

svn path=/branches/KDE/4.4/kdelibs/; revision=1077905
This commit is contained in:
Chani Armitage 2010-01-21 06:09:48 +00:00
parent cc5eaae1c2
commit b35d6fcada

View File

@ -1196,7 +1196,7 @@ void Applet::flushPendingConstraintsEvents()
action = d->actions->action("configure");
if (action) {
bool canConfig = unlocked || KAuthorized::authorize("PlasmaAllowConfigureWhenLocked");
bool canConfig = unlocked || KAuthorized::authorize("plasma/allow_configure_when_locked");
action->setVisible(canConfig);
action->setEnabled(canConfig);
}
@ -1698,7 +1698,7 @@ void Applet::showConfigurationInterface()
return;
}
if (immutability() != Mutable && !KAuthorized::authorize("PlasmaAllowConfigureWhenLocked")) {
if (immutability() != Mutable && !KAuthorized::authorize("plasma/allow_configure_when_locked")) {
//FIXME: in 4.3 add an explanatory dialog
return;
}