[squeak-dev] Seaside and/or SqueakSource question

David T. Lewis lewis at mail.msen.com
Tue Dec 10 13:44:49 UTC 2013


On Tue, Dec 10, 2013 at 08:31:20AM +0100, Bal??zs K??si wrote:
> Hi Dave,
> 
> It seems that the original squeaksource logo is stored in the code in
> SSFrame class >> formLogo, and it is loaded in the class side initialize
> method.
> 
> Maybe it's enough to evaluate "SSFrame initialize" in the squeaksource
> server image to get back to the original logo.

Hi Bal??zs,

Thanks for this, I had not seen the #formLogo method.

I was able to correct the logo on the squeaksource.com site last night
by exporting the logo from the original squeaksource image, then using
it to initialize our current image on the squeak.org server.

It may be that the SqueakSource source code should be updated to
capture the two different header logos. I cannot check this right now
but I will follow up on it later.

For the record in case others are following this, I am attaching a
copy of the logo image (SSPageHeaderBytes.jpg) as well as the workspace
(Update the header logo.text) that I used to update the running image
last night. I created SSPageHeaderBytes.jpg file by writing out the
contents of the logo from the old (SCG) squeaksource.com image.

Thanks again for your help!

Dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SSPageHeaderBytes.jpg
Type: image/jpeg
Size: 14323 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20131210/079fba0b/SSPageHeaderBytes.jpg
-------------- next part --------------
Background: The header banner at the top of the SqueakSource web page is a graphic that is activated by the style sheet. It is stored in class instance variable Logo in class SSGenericFrame. The original logo from the SCG image was stored as a byte array in that image, but was not transferred to the newer image. I exported the byte array from the old image, saving it in a file called SSPageHeaderBytes.jpg, then loaded it into the newer image. 

"Update the header logo"
SSFrame makeLogo: 'SSPageHeaderBytes.jpg'.

The style sheet is cached in the style instance variable of the active SSFrame instance, which can be cleared without restarting the image.

"Allow it to be activated"
SSFrame allInstances do: [:e | e instVarAt: 3 put: nil].


More information about the Squeak-dev mailing list