[Snippets Addon] Hide GHNS buttons if disabled by KIOSK restrictions
ClosedPublic

Authored by broulik on Aug 3 2017, 9:19 AM.

Details

Test Plan

Placed the following in kdeglobals:

[KDE Action Restrictions]
ghns=false

knewstuff would show an error message about it being disabled, so just not show the button in the first place (KNS Button would do that but here we have a custom tool button)

Diff Detail

Repository
R40 Kate
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Aug 3 2017, 9:19 AM
Restricted Application added a subscriber: kwrite-devel. · View Herald TranscriptAug 3 2017, 9:19 AM
broulik edited the test plan for this revision. (Show Details)Aug 3 2017, 10:25 AM
aacid accepted this revision.Aug 3 2017, 8:36 PM
This revision is now accepted and ready to land.Aug 3 2017, 8:36 PM
dhaumann accepted this revision.Aug 6 2017, 8:02 AM
dhaumann added a subscriber: dhaumann.

Yes, please ship!

This revision was automatically updated to reflect the committed changes.