[Pkg] The Trunk: Protocols-nice.32.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 27 20:32:23 UTC 2010

Nicolas Cellier uploaded a new version of Protocols to project The Trunk:

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

Name: Protocols-nice.32
Author: nice
Time: 27 August 2010, 10:32:16.708 pm
UUID: 54ca194f-35cd-bf48-9216-6d167e293b58
Ancestors: Protocols-nice.31

#ifNil: simplification

=============== Diff against Protocols-nice.31 ===============

Item was changed:
  ----- Method: ObjectWithDocumentation>>editDescription (in category 'documentation') -----
  	"Allow the user to see and edit the documentation for this object"
  	| reply helpMessage |
+ 	helpMessage := self documentation ifNil: [String new].
- 	helpMessage := self documentation isNil
- 				ifTrue: [String new]
- 				ifFalse: [self documentation].
  	reply := UIManager default
  				multiLineRequest: 'Kindly edit the description' translated
  				centerAt: Sensor cursorPoint
  				initialAnswer: helpMessage
  				answerHeight: 200.
  	reply isEmptyOrNil
  		ifFalse: [self documentation: reply]!

More information about the Packages mailing list