The Trunk: Tools-ct.1356.mcz
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <[email protected]> |
Christoph Thiede uploaded a new version of Tools to project The Trunk: http://source.squeak.org/trunk/Tools-ct.1356.mcz ==================== Summary ==================== Name: Tools-ct.1356 Author: ct Time: 7 June 2026, 9:20:03.68987 pm UUID: f64e6e81-043a-4656-b8bf-0fc34fd22f21 Ancestors: Tools-ct.1355 Fixes recent regression in CustomMenu construction from Tools-ct.1307 that broke senders of #startUp. For instance, the jumpToProject menu in MVC now works again. Sorry for the slip. I hope we don't need the #value indirection in any other use cases for compatibility with Morphic/ToolBuilder. =============== Diff against Tools-ct.1355 =============== Item was changed: ----- Method: CustomMenu>>add:action: (in category 'construction') ----- add: aString action: actionItem "Add the given string as the next menu item. If it is selected, the given action (usually but not necessarily a symbol) will be returned to the client." | s | aString ifNil: [^ self addLine]. "compatibility" - actionItem isSymbol ifFalse: [^ self add: aString target: actionItem selector: #value]. targets addLast: defaultTarget. arguments addLast: nil. s := String new: aString size + 2. s at: 1 put: Character space. s replaceFrom: 2 to: s size - 1 with: aString. s at: s size put: Character space. labels addLast: s. selections addLast: actionItem.! Squeak-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]