[squeak-dev] The Trunk: Network-fbs.141.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jun 1 22:18:34 UTC 2013


Frank Shearar uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-fbs.141.mcz

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

Name: Network-fbs.141
Author: fbs
Time: 1 June 2013, 11:18:12.251 pm
UUID: fef0a0b0-1402-42f1-a75d-88f082e0741a
Ancestors: Network-fbs.140

Move MailComposition >> #addAttachment to Morphic-Support because the sole sender of #addAttachment (MailComposition >> #morphicOpen) is in Morphic-Support.

=============== Diff against Network-fbs.140 ===============

Item was removed:
- ----- Method: MailComposition>>addAttachment (in category 'interface') -----
- addAttachment
- 	| file fileResult fileName |
- 	textEditor
- 		ifNotNil: [self hasUnacceptedEdits ifTrue: [textEditor accept]].
- 
- 	(fileResult := StandardFileMenu oldFile)
- 		ifNotNil: 
- 			[fileName := fileResult directory fullNameFor: fileResult name.
- 			file := FileStream readOnlyFileNamed: fileName.
- 			file ifNotNil:
- 				[file binary.
- 				self messageText:
- 						((MailMessage from: self messageText asString)
- 							addAttachmentFrom: file withName: fileResult name; text).
- 				file close]] !



More information about the Squeak-dev mailing list