[squeak-dev] The Trunk: Morphic-ul.511.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jan 10 15:53:09 UTC 2011


Levente Uzonyi uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ul.511.mcz

==================== Summary ====================

Name: Morphic-ul.511
Author: ul
Time: 10 January 2011, 4:29:46.915 pm
UUID: 96fc5215-59c2-e545-a1a3-a5fa377dd829
Ancestors: Morphic-cmm.510

- don't access dictionaryOfPreferences directly, because it's not thread safe. Use the appropriate accessor instead.

=============== Diff against Morphic-cmm.510 ===============

Item was changed:
  ----- Method: SystemWindow class>>updatePreferences (in category 'initializing') -----
  updatePreferences
  	"Temporary method to update system-wide preferences"
  	Preferences setPreference: #defaultWindowColor toValue: (Color veryVeryLightGray muchLighter).
+ 	(Preferences preferenceAt: #defaultWindowColor) defaultValue: (Color veryVeryLightGray muchLighter).
- 	(Preferences dictionaryOfPreferences at: #defaultWindowColor) defaultValue: (Color veryVeryLightGray muchLighter).
  
  	Preferences setPreference: #menuAppearance3d toValue: true.
+ 	(Preferences preferenceAt: #menuAppearance3d) defaultValue: true.
- 	(Preferences dictionaryOfPreferences at: #menuAppearance3d) defaultValue: true.
  
  	Preferences setPreference: #menuColorFromWorld toValue: false.
+ 	(Preferences preferenceAt: #menuColorFromWorld) defaultValue: false.
- 	(Preferences dictionaryOfPreferences at: #menuColorFromWorld) defaultValue: false.
  
  	Preferences setPreference: #roundedMenuCorners toValue: false.
+ 	(Preferences preferenceAt: #roundedMenuCorners) defaultValue: false.
- 	(Preferences dictionaryOfPreferences at: #roundedMenuCorners) defaultValue: false.
  
  	Preferences setParameter: #menuColor to: (Color gray: 0.9).
  	Preferences setParameter: #menuTitleColor to: (Color transparent).
  	Preferences setParameter: #menuTitleBorderWidth to: 0.
  	Preferences setParameter: #defaultWorldColor to: (Color gray: 0.25).
  
  	Preferences setPreference: #showSplitterHandles toValue: true.
+ 	(Preferences preferenceAt: #showSplitterHandles) defaultValue: true.
- 	(Preferences dictionaryOfPreferences at: #showSplitterHandles) defaultValue: true.
  
  	Preferences setPreference: #showSharedFlaps toValue: false.
+ 	(Preferences preferenceAt: #showSharedFlaps) defaultValue: false.
- 	(Preferences dictionaryOfPreferences at: #showSharedFlaps) defaultValue: false.
  
  	Preferences installUniformWindowColors.
  
  	CornerGripMorph drawCornerResizeHandles: false.
  	FillInTheBlankMorph roundedDialogCorners: true.
  
  	LazyListMorph
  		listSelectionColor: LazyListMorph listSelectionColor;
  		listSelectionTextColor: Color black.
  	PluggableButtonMorph roundedButtonCorners: true.
  	SystemWindow
  		clickOnLabelToEdit: false;
  		doubleClickOnLabelToExpand: true;
  		moveMenuButtonRight: true;
  		hideExpandButton: false.
  !




More information about the Squeak-dev mailing list