[BUG]SMSqueakMapBrowser>>buttonRow calls abbreviatedWordingFor:

squeak-dev at lists.squeakfoundation.org squeak-dev at lists.squeakfoundation.org
Fri Sep 20 07:58:58 UTC 2002


--==CelesteAttachment31515==

Hi Brian and all!

Brian T Rice <water at tunes.org> wrote:
> Hi. SqueakMap rules, by the way. :)

Good to hear!

> The latest release of the SqueakMap browser works fine, except when
> initializing the button-bar, it tries to call abbreviatedWordingFor: on
> itself, when it needs a CodeHolder to perform this. This must have a very

Eh, duh. Yeah, I see it, obviously I have:
Preferences abbreviatedBrowserButtons -> false

...but you probably have it set to true. That was why I didn't get that
error.
But anyway, that code is just copied stuff that I haven't looked through
- this little .cs I attached fixes it.

> simple fix, but it appears that the browser is a SystemWindow without a
> model, unlike most browser windows, so I don't see it myself.

Correct, in this respect it is designed a bit after ArchiveViewer - a
more direct lightweight approach I think by simply saying that the
browser IS the window (inheritance).

Most other SystemWindows as you say are just created on the fly and then
communicate with a model (=application model, not domain model) which in
turn has some domain model.

Having the extra separation is good in theory if you would like multiple
UIs ontop of the same application model. I have a hard time (IMHO)
seeing such a separation in practice with most tools though.

Now when you mention it I also notice that I have been throwing in
behaviour in SMSqueakMapBrowser which *really* should be in SMSqueakMap
instead (downloading, installing etc). Hmmm, I will need to clean this
up in order for our new little friend - the "SqueakMap menu" to arrive.

> Thanks,
> Brian Rice
> ~

regards, Göran
--==CelesteAttachment31515==
Content-type: application/octet-stream
Content-transfer-encoding: base64
Content-disposition: attachment;filename="SqueakMapFix-gh.1.cs.gz"

H4sIAAAAAAAAAHVTwW6bQBA9c+AfJsnBN8e147YhUqXYlaVWcmsZ36w0WsOAV1526O5Qmigf
32EJUas0J9h5bx5v3iyjlaMK0p8NqtNsPAUq4N0cvirbKPcA08lkCnujGD1DU+fyksDF1fV8
egdkBYYUa8bqgK7nKobJx+TqQzKfjM7i+Cxd99JrVS8ctV54FfKRcr8il8Co6SraMrpCZTgC
z6qqpV4e4fpyOrkMop3ie5E7NMxkt9TG0fmt9a20KhDVznRGlh0Z6Dn+PI6jJ1DCBbUIJXiK
o3C+h1ujS1uh5TW5+ggWW6mPn2GP/E1VuCNx0YttlMXRAB8wZZ2dHobzcYteP2pbSi6+lhlW
2pgBbJ2ql9hN1xOy8H4DGRqzIa9Zk+0RgwX3zKE3M7pOm0PVWfQJsGvwBZL2L1aMJjCTmkdT
wGBVOw+QUxJH0T7hpjbYDR5FQwr3sDFNWaqDwb4SMugYEdkEOq1wKJFTDuu22oSKyjq74iSI
epTE8/Hf0oElC91SY3PMl+QsOn8Tyv+NqYd+vQ2RXZLp7kl4SAbKCsNJTrLy4i3sH1NGHdAM
pgtJh0H5lLuFBN7zNPoR4RNMQRc7CTqB/dAvKS+UMUR2h795EOKjdvnda4HZawH5VFmi+y5B
SzafqX2JsKDG8bFX6W9qnodtLFR2SoZ7K3gc/QhX+Qzkl/oDJDYok7EDAAA=

--==CelesteAttachment31515==--



More information about the Squeak-dev mailing list