[Pkg] The Trunk: System-fbs.637.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Dec 6 22:48:31 UTC 2013

Frank Shearar uploaded a new version of System to project The Trunk:

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

Name: System-fbs.637
Author: fbs
Time: 6 December 2013, 10:47:46.203 pm
UUID: 63ee1b96-ff75-2547-904d-e46c6202bef5
Ancestors: System-nice.636

Use the new updater API.

=============== Diff against System-nice.636 ===============

Item was changed:
  ----- Method: AutoStart class>>processUpdates (in category 'updating') -----
  	"Process update files from a well-known update server.  This method is called at system startup time,   Only if the preference #updateFromServerAtStartup is true is the actual update processing undertaken automatically"
  	| choice |
  	(Preferences valueOfFlag: #updateFromServerAtStartup) ifTrue:
  		[choice := UIManager default chooseFrom: #('Yes, Update' 'No, Not now' 'Don''t ask again')
  			title: 'Shall I look for new code\updates on the server?' withCRs.
  		choice = 1 ifTrue: [
+ 			MCMcmUpdater updateFromServer].
- 			Utilities updateFromServer].
  		choice = 3 ifTrue: [
  			Preferences setPreference: #updateFromServerAtStartup toValue: false.
  			self inform: 'Remember to save you image to make this setting permant.']].

Item was changed:
  ----- Method: Preferences class>>personalizeUserMenu: (in category 'personalization') -----
  personalizeUserMenu: aMenu
  	"The user has clicked on the morphic desktop with the yellow mouse button (option+click on the Mac); a menu is being constructed to present to the user in response; its default target is the current world.  In this method, you are invited to add items to the menu as per personal preferences.
  	The default implementation, for illustrative purposes, sets the menu title to 'personal', and adds items for go-to-previous-project, show/hide flaps, and load code updates"
  	aMenu addTitle: 'personal' translated.  "Remove or modify this as per personal choice"
  	aMenu addStayUpItem.
  	aMenu add: 'previous project' translated action: #goBack.
+ 	aMenu add: 'load latest code updates' translated target: MCMcmUpdater action: #updateFromServer.
- 	aMenu add: 'load latest code updates' translated target: Utilities action: #updateFromServer.
  	aMenu add: 'about this system...' translated target: Smalltalk action: #aboutThisSystem.
  	aMenu addLine.
  	aMenu addUpdating: #suppressFlapsString target: Project current action: #toggleFlapsSuppressed.
  	aMenu balloonTextForLastItem: 'Whether prevailing flaps should be shown in the project right now or not.' translated!

Item was changed:
  ----- Method: Utilities class>>openUpdateButton (in category 'user interface') -----
  	PluggableButtonMorph new
  		label: 'Load Code Updates';
+ 		model: MCMcmUpdater;
- 		model: Utilities;
  		action: #updateFromServer;

More information about the Packages mailing list