D5009: add functions for locking/unlocking the corona

Marco Martin noreply at phabricator.kde.org
Fri Mar 10 18:12:00 UTC 2017


mart created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  add global immutability/setImmutability in scripting
  there was a locked property in containment, but
  didn't make much sense as the lock/unlock state is
  always global. a global function would be better.
  
  containment.locked may also be changed to lock the corona instead
  (doesn't seem reliable now) but should probably be deprecated.

TEST PLAN
  correctly locked nd unlocked widgets from the console.
  i'm not sure wether allowing systemimmutable as is dangerous and not
  easily reversible, but does have an use for first
  time setup of kiosk environments

REPOSITORY
  R120 Plasma Workspace

BRANCH
  phab/immutablescripting

REVISION DETAIL
  https://phabricator.kde.org/D5009

AFFECTED FILES
  shell/scripting/scriptengine.cpp
  shell/scripting/scriptengine_v1.cpp
  shell/scripting/scriptengine_v1.h

To: mart, #plasma
Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170310/dcb2bcc5/attachment-0001.html>


More information about the Plasma-devel mailing list