[squeak-dev] The Inbox: System-sbw.320.mcz
bernhard at pieber.com
Sat Apr 24 17:30:59 UTC 2010
I guess this will be not enough. You will probably need this as well:
(Preferences dictionaryOfPreferences at: #annotationPanes) defaultValue: true.
And probably also to really change it in trunk images:
Preferences enable: #annotationPanes
I am not sure where is the correct place to put it. Directly in a preamble of the System package? Or better in the postscript? Or in a method called from there? in SystemWindow class>>#updatePreferences?
There seems to be no method along the lines of restoreDefaultFonts for normal Preferences. I found Preferences class>>#chooseInitialSettings which is triggered from the Preference Browsers 'default' button. However, that seems not to work for the new PragmaPreferences. That seems like a bug, doesn't it?
Am 24.04.2010 um 15:20 schrieb commits at source.squeak.org:
> A new version of System was added to project The Inbox:
> ==================== Summary ====================
> Name: System-sbw.320
> Author: sbw
> Time: 24 April 2010, 10:19:27.488 am
> UUID: f85d74cc-5582-49ce-a1d8-bc007c5b9286
> Ancestors: System-ar.319
> Sets default condition for Annotations Preference to true if undefined.
> =============== Diff against System-ar.319 ===============
> Item was changed:
> ----- Method: Preferences class>>annotationPanes (in category 'standard queries') -----
> ^ self
> valueOfFlag: #annotationPanes
> + ifAbsent: [true]!
> - ifAbsent: [false]!
More information about the Squeak-dev