D7086: [Wallpaper Configuration] Hide Get New Stuff if disabled by KIOSK
Kai Uwe Broulik
noreply at phabricator.kde.org
Thu Aug 3 08:38:15 UTC 2017
broulik created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
KCMs can be individually disabled by KIOSK if desired but wallpaper configuration cannot (unless you lock down Plasma completely). Hence, at least honoring the `ghns` restriction here, until we have a proper solution (that is a QtQuick equivalent of `KNS3::Button`).
Also, KNS3::DownloadDialog refuses to open when `ghns` is restricted *but* this applies only to using `open()` or `exec()` but not a blatant `show()` we do from QML.
TEST PLAN
Placed the following in kdeglobals
[KDE Action Restrictions]
ghns=false
Button did no longer show up.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D7086
AFFECTED FILES
wallpapers/image/imagepackage/contents/ui/config.qml
To: broulik, #plasma, dknorr
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170803/8a61eb81/attachment.html>
More information about the Plasma-devel
mailing list