kdelibs/plasma-on-screensaver-security-fix.diff
Rex Dieter 05114451a9 * Mon Jan 26 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.2.0-2
- 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
2009-01-26 18:10:28 +00:00

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