The Trunk: ToolBuilder-MVC-ct.77.mcz

[email protected] Sun, 5 Jul 2026 22:29:38 0000
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
Christoph Thiede uploaded a new version of ToolBuilder-MVC to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-MVC-ct.77.mcz

==================== Summary ====================

Name: ToolBuilder-MVC-ct.77
Author: ct
Time: 6 July 2026, 12:29:38.04472 am
UUID: 19427b67-ab96-4752-8f1f-6ff5814763a6
Ancestors: ToolBuilder-MVC-mt.76

Adds missing title when building ST80 menus from specs.

=============== Diff against ToolBuilder-MVC-mt.76 ===============

Item was changed:
  ----- Method: MVCToolBuilder>>buildPluggableMenu: (in category 'widgets required') -----
  buildPluggableMenu: menuSpec 
  	"Just a very simple mapping to selection menu. It assumes that all item specs have the same receiver."
  	
  	| menu |
  	menu := CustomMenu new.
+ 	menuSpec label ifNotNil: [menu title: menuSpec label].
  	menuSpec items do: [:ea |
  		menu
  			add: ea label
  			target: ea action
  			selector: #value.
  		ea separator ifTrue: [menu addLine]].
  	^ menu!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]