[squeak-dev] The Inbox: Monticello-nice.528.mcz

Bert Freudenberg bert at freudenbergs.de
Tue Jan 22 22:08:39 UTC 2013


But it gets rebuilt every time it is shown anyway, so why bother making it weak?

- Bert -

On 22.01.2013, at 13:58, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:

> If the menu points weakly, then it should be OK.
> See Morphic-nice.635 in inbox.
> 
> Nicolas
> 
> 2013/1/22 Bert Freudenberg <bert at freudenbergs.de>:
>> 
>> On 22.01.2013, at 13:31, "H. Hirzel" <hannes.hirzel at gmail.com> wrote:
>>> What should we do about the 'Windows' subMenu?
>>> 
>>> Rebuild it any time a menu is called? Or rebuild it any time a window is closed?
>> 
>> 
>> Nil it out as soon as the window is closed. Perhaps like this?
>> 
>> DockingBarUpdatingMenuMorph>>outOfWorld: aWorld
>>        self removeAllMorphs.   "forget references held in menu items"
>>        ^super outOfWorld: aWorld
>> 
>> 
>> - Bert -
>> 
>> 
>> 
> 




More information about the Squeak-dev mailing list