Summary: | Possibility to disable downloading Hot new Stuff | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-knewstuff | Reporter: | Dennis Knorr <dennis.knorr> |
Component: | general | Assignee: | Jeremy Whiting <jpwhiting> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kde, kdelibs-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/knewstuff/2a7ac6f0753427f865fc9013868990cb3b530ecf | Version Fixed In: | |
Sentry Crash Report: |
Description
Dennis Knorr
2016-09-04 13:48:01 UTC
Would you prefer the kiosk key hid the "Get Hot new Stuff" button completely? Or show a message when clicked saying it has been disabled by the administrators? Ideally both. As we don't have QML bindings yet, none of the Plasma dialogs nor many KCMs would follow that, so a message in the download dialog should definitely be there and we can deal with the cosmetics later. Well, QML Bindings are there in a branch and should land shortly afaik. Ok, I've never used any kiosk stuff before. Is there a tutorial somewhere about how it works these days? Googling got me https://dot.kde.org/2005/03/02/kde-kiosk-tutorial which links to a dead techbase page... How does kiosk work these days? Some QSetting somewhere? if (!KAuthorized::authorize("ghns")) { ... } Created a patch which works in every case except the one you want... Investigating why that is. The patch is here: https://git.reviewboard.kde.org/r/128856/ Git commit 2a7ac6f0753427f865fc9013868990cb3b530ecf by Jeremy Whiting. Committed on 07/09/2016 at 21:42. Pushed by whiting into branch 'master'. Add KAuthorized checks to allow disabling of ghns in kdeglobals. REVIEW:128856 M +6 -0 src/button.cpp M +29 -0 src/downloaddialog.cpp M +8 -0 src/downloaddialog.h http://commits.kde.org/knewstuff/2a7ac6f0753427f865fc9013868990cb3b530ecf |