- plasma-on-screensaver-security patch - (Build)Req: automoc4 >= 0.9.88, phonon(-devel) >= 4.3.0 - Requires: strigi-libs >= 0.6.3 - use %{?_isa} to avoid potential multilib heartbreak
22 lines
736 B
Diff
22 lines
736 B
Diff
Index: containment.cpp
|
|
===================================================================
|
|
--- containment.cpp (revision 916284)
|
|
+++ containment.cpp (working copy)
|
|
@@ -1602,12 +1602,10 @@
|
|
}
|
|
|
|
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
|