Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
ReleaseBuilder class setPreferences
Last updated at 11:48 am UTC on 7 June 2019
The #setPreferences method of the ReleaseBuilder configures how a release is built. It needs to be checked manually for every release if the particular preferences still apply.

 setPreferences
 	"Preferences class defaultValueTableForCurrentRelease"
 
 "	Preferences outOfTheBox."  "– uncomment after #defaultValueTableForCurrentRelease is fixed up."
 
 	"General User interaction"
 	Preferences
 		enable: #generalizedYellowButtonMenu ;
 		enable: #swapMouseButtons;
 		disable: #mouseOverForKeyboardFocus.
 	Morph indicateKeyboardFocus: true.
 	Project uiManager openToolsAttachedToMouseCursor: false.
 	SearchBar useScratchPad: false.
 	
 	HandMorph sendMouseWheelToKeyboardFocus: false.
 	HandMorph synthesizeMouseWheelEvents: true.
 	
 	"Text input."
 	TextEditor
 		 autoEnclose: true ;
 		 autoIndent: true ;
 		 encloseSelection: false ;
 		 destructiveBackWord: false ;
 		 blinkingCursor: true ;
 		 dumbbellCursor: false.
 	PluggableTextMorph simpleFrameAdornments: false.
 	TextMorphForEditView draggableTextSelection: true.
 	
 	"Windows"
        SystemWindow reuseWindows: false.
		SystemWindow windowsRaiseOnClick: true.
	SystemWindow windowTitleActiveOnFirstClick: true.
	Model windowActiveOnFirstClick: false. "Not good for little screen real estate."
	Model useColorfulWindows: false. 

	Preferences
		disable: #showSplitterHandles;
		disable: #fastDragWindowForMorphic.	
	CornerGripMorph
		drawCornerResizeHandles: false;
		passiveColor: (Color gray: 0.85);
		activeColor: (Color r: 1 g: 0.599 b: 0.0).
	ProportionalSplitterMorph
		 smartHorizontalSplitters: false ;
		 smartVerticalSplitters: false.

	"Scroll bars."
	Preferences
		enable: #scrollBarsNarrow;
		enable: #scrollBarsOnRight;
		enable: #alwaysHideHScrollbar;
		disable: #alwaysShowHScrollbar;
		disable: #alwaysShowVScrollbar.
	ScrollBar
		scrollBarsWithoutArrowButtons: true;
		scrollBarsWithoutMenuButton: true.
	ScrollPane
		useRetractableScrollBars: false.

	"Rounded corners."
	Morph preferredCornerRadius: 8.
	SystemWindow roundedWindowCorners: false.
	DialogWindow roundedDialogCorners: false.
	MenuMorph roundedMenuCorners: false.
	PluggableButtonMorph roundedButtonCorners: false.
	ScrollBar roundedScrollBarLook: false.
	
	"Gradients."
	SystemWindow gradientWindow: false.
	DialogWindow gradientDialog: false.
	MenuMorph gradientMenu: false.
	PluggableButtonMorph gradientButton: false.
	ScrollBar gradientScrollBar: false.

	"Shadows"
	Preferences enable: #menuAppearance3d.
	Morph useSoftDropShadow: true.
	
	"Lists and Trees"
	PluggableListMorph
		filterableLists: true;
		clearFilterAutomatically: false;
		highlightHoveredRow: true;
		menuRequestUpdatesSelection: true.
	PluggableTreeMorph
		filterByLabelsOnly: false;
		maximumSearchDepth: 1.
	
	"Standard Tools"

	TheWorldMainDockingBar
		showWorldMainDockingBar: true;
		showSecondsInClock: true;
		twentyFourHourClock: true.
	SearchBar useSmartSearch: true.
	Workspace shouldStyle: false.
	TranscriptStream
		forceUpdate: true;
		redirectToStdOut: false;
		characterLimit: 20000.
	Browser
		listClassesHierarchically: true;
		showClassIcons: true;
		showMessageIcons: true;
		sortMessageCategoriesAlphabetically: true.
	Preferences enable: #annotationPanes;
		 enable: #optionalButtons;
		 disable: #diffsWithPrettyPrint;
		 enable: #traceMessages;
		 enable: #alternativeBrowseIt;
		 enable: #menuWithIcons;
		 enable: #visualExplorer.
	SystemNavigation thoroughSenders: true.
	Preferences disable: #debugLogTimestamp.

	"Halo"
	Preferences
		enable: #showBoundsInHalo ;
		disable: #alternateHandlesLook;
		disable: #showDirectionHandles.

	"System"
	NetNameResolver enableIPv6: false.
	Scanner
		allowUnderscoreAsAssignment: true;
		prefAllowUnderscoreSelectors: true.
		
	Deprecation showDeprecationWarnings: true

	"that's all, folks"