[ENH] DisablePrgmr-nk
Ned Konz
ned at bike-nomad.com
Sat Jan 28 03:57:01 UTC 2012
from preamble:
"Change Set: DisablePrgmr-nk
Date: 17 July 2002
Author: Ned Konz
This change set makes it easier to lock down an image for application
delivery.
By executing:
Preferences disableProgrammerFacilities
from your personalized World menu and saving the locked image under a
new name, the following features are disabled:
* Halos
* Meta and Debug menus
* Command keys in world
* Command-dot interrupts
* Debuggers (though notifiers will still come up)
* World menu (from mouse or key)
* Command keys other than editing & cursor in text
The yellow-button menus in text panes will still come up.
It is assumed that text panes in your app will have their own
yellow-button menus.
Two existing preferences have been made available in the Preferences
tool:
cmdKeysInText -- enables the use of many cmd (or alt) keys in text
editors
cmdGesturesEnabled -- enables halos, debug menus, etc.
Another two new preferences have been added:
appendToErrorLog -- appends to the error log rather than replacing it
noDebugButton -- suppress the ability to open a debugger from a
notifier
You can add this to your personalized World menu:
aMenu add: 'disable pgrmr' target: Preferences action:
#disableProgrammerFacilities.
Or you can add:
Preferences disableProgrammerFacilities
to your do... menu list.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DisablePrgmr-nk.cs.gz
Type: application/octet-stream
Size: 4642 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120128/d5521baa/DisablePrgmr-nk.cs.obj
More information about the Squeak-dev
mailing list
|