The Inbox: System-sbw.320.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: System-sbw.320.mcz

commits-2
A new version of System was added to project The Inbox:
http://source.squeak.org/inbox/System-sbw.320.mcz

==================== 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') -----
  annotationPanes
  ^ self
  valueOfFlag: #annotationPanes
+ ifAbsent: [true]!
- ifAbsent: [false]!


bpi
Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: System-sbw.320.mcz

bpi
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?

Cheers,
Bernhard

Am 24.04.2010 um 15:20 schrieb [hidden email]:

> A new version of System was added to project The Inbox:
> http://source.squeak.org/inbox/System-sbw.320.mcz
>
> ==================== 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') -----
>  annotationPanes
>   ^ self
>   valueOfFlag: #annotationPanes
> + ifAbsent: [true]!
> - ifAbsent: [false]!
>
>


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: System-sbw.320.mcz

Steve Wessels-2
Good research.  Seems there is more to do.

- Steve

On Apr 24, 2010, at 12:30 PM, Bernhard Pieber <[hidden email]>  
wrote:

> 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?
>
> Cheers,
> Bernhard
>
> Am 24.04.2010 um 15:20 schrieb [hidden email]:
>
>> A new version of System was added to project The Inbox:
>> http://source.squeak.org/inbox/System-sbw.320.mcz
>>
>> ==================== 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') -----
>> annotationPanes
>>    ^ self
>>        valueOfFlag: #annotationPanes
>> +        ifAbsent: [true]!
>> -        ifAbsent: [false]!
>>
>>
>
>