[squeak-dev] The Trunk: PreferenceBrowser-fbs.48.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Aug 10 09:53:52 UTC 2013


Frank Shearar uploaded a new version of PreferenceBrowser to project The Trunk:
http://source.squeak.org/trunk/PreferenceBrowser-fbs.48.mcz

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

Name: PreferenceBrowser-fbs.48
Author: fbs
Time: 10 August 2013, 10:52:57.149 am
UUID: 804efedf-9f9a-234c-a54d-944c192dfe0d
Ancestors: PreferenceBrowser-bf.47

Pull EToys-specific preferences into EToys.

=============== Diff against PreferenceBrowser-bf.47 ===============

Item was removed:
- PBPreferenceView subclass: #PBColorPreferenceView
- 	instanceVariableNames: ''
- 	classVariableNames: ''
- 	poolDictionaries: ''
- 	category: 'PreferenceBrowser'!

Item was removed:
- ----- Method: PBColorPreferenceView class>>initialize (in category 'class initialization') -----
- initialize
- 	PreferenceViewRegistry ofColorPreferences register: self.!

Item was removed:
- ----- Method: PBColorPreferenceView class>>unload (in category 'class initialization') -----
- unload
- 	"Unload order is not guaranteed so guard against failure"
- 	[PreferenceViewRegistry ofColorPreferences unregister: self] on: Error do:[]!

Item was removed:
- ----- Method: PBColorPreferenceView>>colorSwatch (in category 'user interface') -----
- colorSwatch
- 	^UpdatingRectangleMorph new
- 		target: self preference;
- 		getSelector: #preferenceValue;
- 		putSelector: #preferenceValue:;
- 		extent: 22 at 22;
- 		setBalloonText: 'click here to change the color' translated;
- 		yourself.!

Item was removed:
- ----- Method: PBColorPreferenceView>>representativeButtonWithColor:inPanel: (in category 'user interface') -----
- representativeButtonWithColor: aColor inPanel: aPreferenceBrowser
- 	^self horizontalPanel
- 		layoutInset: 2;
- 		color: aColor;
- 		cellInset: 20;
- 		cellPositioning: #center;
- 		addMorphBack: (StringMorph contents: self preference name);
- 		addMorphBack: self horizontalFiller;
- 		addMorphBack: self colorSwatch;
- 		yourself!

Item was removed:
- PBColorPreferenceView subclass: #PBWindowColorPreferenceView
- 	instanceVariableNames: ''
- 	classVariableNames: ''
- 	poolDictionaries: ''
- 	category: 'PreferenceBrowser'!

Item was removed:
- ----- Method: PBWindowColorPreferenceView class>>initialize (in category 'class initialization') -----
- initialize
- 	self viewRegistry register: self.!

Item was removed:
- ----- Method: PBWindowColorPreferenceView class>>unload (in category 'class initialization') -----
- unload
- 	"Unload order is not guaranteed so guard against failure"
- 	[self viewRegistry unregister: self] on: Error do:[]!

Item was removed:
- ----- Method: PBWindowColorPreferenceView class>>viewRegistry (in category 'class initialization') -----
- viewRegistry
- 	^(PreferenceViewRegistry registryOf: #windowColorPreferences)
- 		viewOrder: 6;
- 		yourself.!

Item was removed:
- ----- Method: PBWindowColorPreferenceView>>initialize (in category 'initialization') -----
- initialize
- 	super initialize.
- 	self addActionTitled: 'Bright' target: Preferences selector: #installBrightWindowColors arguments: {} balloonText: 'Use standard bright colors for all windows' translated.
- 	self addActionTitled: 'Pastel' target: Preferences selector: #installPastelWindowColors arguments: {} balloonText: 'Use standard pastel colors for all windows' translated.	
- 	self addActionTitled: 'Gray' target: Preferences selector: #installUniformWindowColors arguments: {} balloonText: 'Use gray backgrounds for all standard windows' translated.!



More information about the Squeak-dev mailing list