As I was getting the class back in my 3.0 image, I noticed that drag and drop of classes to other packages led to a #MNU:

... and deprecation warnings are nice but not with little windows all over... :-p

Putting the UpdatingMenuMorph makes TWM works again. As TWM is the only user of this one, I suggest to put the class in TWM with a TWM prefix. Okay?

yes!


Phil



TIA
Phil




On Thu, Mar 6, 2014 at 12:00 PM, phil@highoctane.be <phil@highoctane.be> wrote:
I am trying to get TWM to work in 3.0

I use the Metacello config flag "trick" to make it load 2.x things.

Now, things do load but there is the deprecation warnings about the way icons are handled.

e.g.

deleteSnapshotIcon  
^ dock theme smallDeleteIcon.

gives a warning.

I looked into the code and now, we are supposed to do:

Smalltalk ui smallDeleteIcon.

Well, I changed the things that needed to be changed and then hit:

newMenu: aSelector icon: aForm help: aString 
^ MenuItemMorph new
contents: '';
subMenu: (UpdatingMenuMorph new updater: self updateSelector: aSelector);
icon: aForm;
setBalloonText: aString.

Where Updating MenuMorph appears to be gone in 3.0

What am I supposed to use as a replacement?

TIA

Phil
 




<07-03-14 10-17-33.png>