[squeak-dev] Re: [ANN] SqueakLightII ready to try

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Wed Jun 11 09:11:43 UTC 2008




El 6/10/08 7:51 PM, "Chris Kassopulo" <ckasso at sprynet.com> escribió:

> Hi Edgar,
> 
> I installed SqueakLite on my linux box. All 40 updates loaded successfully.
> Clicking on the menu halo button for any morph gives a:
> 
> PasteUpMorph(Object)>>doesNotUnderstand: #addStackItemsTo:
> 
> It is not implemented in Morph.
> 
> Chris
> 
> Chris
> 
Ok. Very thanks for this.
I attach the solution here.
The trouble comes from the cut of Etoys and more Morphs as we cut in 3.10.

It's still in development, I plan to reach 3.10.x updates this week.

Very thanks and remember join us in #squeak of IRC

Edgar

-------------- next part --------------
'From SqueakLight|II of 31 May 2008 [latest update: #7068] on 7 June 2008 at 11:39:25 am'!

!Morph methodsFor: 'menus' stamp: 'edc 6/7/2008 11:39'!
addStandardHaloMenuItemsTo: aMenu hand: aHandMorph
	"Add standard halo items to the menu"

	| unlockables |

	self isWorldMorph ifTrue:
		[^ self addWorldHaloMenuItemsTo: aMenu hand: aHandMorph].

	self mustBeBackmost ifFalse:
		[aMenu add: 'send to back' translated action: #goBehind.
		aMenu add: 'bring to front' translated action: #comeToFront.
		self addEmbeddingMenuItemsTo: aMenu hand: aHandMorph.
		aMenu addLine].

	self addFillStyleMenuItems: aMenu hand: aHandMorph.
	self addBorderStyleMenuItems: aMenu hand: aHandMorph.
	self addDropShadowMenuItems: aMenu hand: aHandMorph.
	self addLayoutMenuItems: aMenu hand: aHandMorph.
	self addHaloActionsTo: aMenu.
	owner isTextMorph ifTrue:[self addTextAnchorMenuItems: aMenu hand: aHandMorph].
	aMenu addLine.
	self addToggleItemsToHaloMenu: aMenu.
	aMenu addLine.
	self addCopyItemsTo: aMenu.
	self addPlayerItemsTo: aMenu.
	self addExportMenuItems: aMenu hand: aHandMorph.
	"self addStackItemsTo: aMenu."
	self addMiscExtrasTo: aMenu.
	Preferences noviceMode ifFalse:
		[self addDebuggingItemsTo: aMenu hand: aHandMorph].

	aMenu addLine.
	aMenu defaultTarget: self.

	aMenu addLine.

	unlockables _ self submorphs select:
		[:m | m isLocked].
	unlockables size == 1 ifTrue:
		[aMenu
			add: ('unlock "{1}"' translated format: unlockables first externalName)
			action: #unlockContents].
	unlockables size > 1 ifTrue:
		[aMenu add: 'unlock all contents' translated action: #unlockContents.
		aMenu add: 'unlock...' translated action: #unlockOneSubpart].

	aMenu defaultTarget: aHandMorph.
! !


More information about the Squeak-dev mailing list