[squeak-dev] The Inbox: Morphic-fbs.654.mcz

commits at source.squeak.org commits at source.squeak.org
Fri May 31 21:47:21 UTC 2013


A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-fbs.654.mcz

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

Name: Morphic-fbs.654
Author: fbs
Time: 31 May 2013, 10:46:06.668 pm
UUID: aa6c0ca2-61ee-4499-aa75-a68d0d1dba2f
Ancestors: Morphic-fbs.653

This removes two references to UserDialogBoxMorph in favour of calls to UIManager.

However, both these methods currently pop up dialogs _centred_ in the screen. If we wish to preserve that, then we need to add #inform:at: to UIManager's protocol (and implement it in the various UIManager subclasses).

=============== Diff against Morphic-fbs.653 ===============

Item was changed:
  ----- Method: TheWorldMainDockingBar>>aboutSqueak (in category 'menu actions') -----
  aboutSqueak
+ 	UIManager default
+ 		inform: 'About Squeak:\' withCRs ,
+ 			SmalltalkImage current systemInformationString withCRs.
- 	UserDialogBoxMorph
- 		inform: SmalltalkImage current systemInformationString withCRs
- 		title: 'About Squeak:'
- 		at: World center.
  !

Item was changed:
  ----- Method: TheWorldMenu>>quitSession (in category 'commands') -----
  quitSession
  
  	SmalltalkImage current
+ 		snapshot: (UIManager default
- 		snapshot: (UserDialogBoxMorph 
  			confirm: 'Save changes before quitting?' translated 
+ 			orCancel: [^ self])
- 			orCancel: [^ self]
- 			at: World center)
  		andQuit: true!



More information about the Squeak-dev mailing list