From b35d6fcada13b903c067f17192ba76553c5ce591 Mon Sep 17 00:00:00 2001 From: Chani Armitage Date: Thu, 21 Jan 2010 06:09:48 +0000 Subject: [PATCH] backport of r1077904: changing names works better when you change all instances ;) svn path=/branches/KDE/4.4/kdelibs/; revision=1077905 --- applet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applet.cpp b/applet.cpp index ea86874a1..f7acd0349 100644 --- a/applet.cpp +++ b/applet.cpp @@ -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; }