disable the settings action when it's darn well supposed to be disabled
svn path=/branches/KDE/4.2/kdelibs/; revision=916332
This commit is contained in:
parent
ce3cf3943c
commit
107173a80e
@ -1602,12 +1602,10 @@ void ContainmentPrivate::containmentConstraintsEvent(Plasma::Constraints constra
|
||||
}
|
||||
|
||||
bool canConfig = unlocked || KAuthorized::authorize("PlasmaAllowConfigureWhenLocked");
|
||||
if (canConfig) {
|
||||
action = actions().action("activity settings");
|
||||
if (action) {
|
||||
action->setVisible(canConfig);
|
||||
action->setEnabled(canConfig);
|
||||
}
|
||||
action = actions().action("activity settings");
|
||||
if (action) {
|
||||
action->setVisible(canConfig);
|
||||
action->setEnabled(canConfig);
|
||||
}
|
||||
|
||||
// tell the applets too
|
||||
|
Loading…
Reference in New Issue
Block a user