diff --git a/applets/kickoff/package/contents/ui/Header.qml b/applets/kickoff/package/contents/ui/Header.qml --- a/applets/kickoff/package/contents/ui/Header.qml +++ b/applets/kickoff/package/contents/ui/Header.qml @@ -74,6 +74,7 @@ onClicked: { KCMShell.open("user_manager") } + visible: KCMShell.authorize("user_manager.desktop").length > 0 } } diff --git a/applets/trash/package/contents/ui/main.qml b/applets/trash/package/contents/ui/main.qml --- a/applets/trash/package/contents/ui/main.qml +++ b/applets/trash/package/contents/ui/main.qml @@ -86,15 +86,18 @@ } function action_openkcm() { - KCMShell.open(["trash"]); + KCMShell.open(["kcmtrash"]); } Component.onCompleted: { plasmoid.removeAction("configure"); plasmoid.setAction("open", i18nc("a verb", "Open"),"document-open"); plasmoid.setAction("empty",i18nc("a verb", "Empty"),"trash-empty"); - plasmoid.setAction("openkcm", i18n("Trash Settings..."), "configure"); plasmoid.action("empty").enabled = dirModel.count > 0; + + if (KCMShell.authorize("kcmtrash.desktop").length > 0) { + plasmoid.setAction("openkcm", i18n("Trash Settings..."), "configure"); + } } MouseArea {