Feb. 18, 2013
9:20 a.m.
In Pharo2.0 beta: When doing an x openWithSpec, I do get a SystemWindow wrapping my widget. That's all fine. Now, I want the top right arrow "About" to give me back the text I want. But currently, it answers the SystemWindow>>aboutText aboutText "Answer the text to use for the About dialog." ^self model ifNil: ['This is a system window without a model' translated] ifNotNil: [self model class instanceSide organization classComment ifEmpty: ['The model of this window has no class comment'] ifNotEmptyDo: [:comment | comment]] This gives me the comment of the WindowModel as this is what Spec creates for me during openWithSpec. Ideas? Phil