[squeak-dev] The Trunk: Tools-ct.1137.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Feb 26 23:36:21 UTC 2022


Christoph Thiede uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ct.1137.mcz

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

Name: Tools-ct.1137
Author: ct
Time: 27 February 2022, 12:36:01.823424 am
UUID: d030f7cb-5802-e94d-be35-d119d34f8255
Ancestors: Tools-mt.1135

When renaming a changeset and canceling the name dialog/not entering a new name, do not play an error sound. The user has decided to do nothing, so there is no reason to indicate another error.

=============== Diff against Tools-mt.1135 ===============

Item was changed:
  ----- Method: ChangeSorter>>rename (in category 'changeSet menu') -----
  rename
  	"Store a new name string into the selected ChangeSet.  reject duplicate name; allow user to back out"
  
  	| newName |
  	newName := Project uiManager request: 'New name for this change set' translated
  						initialAnswer: myChangeSet name.
  	(newName = myChangeSet name or: [newName size = 0]) ifTrue:
+ 			[^ self].
- 			[^ Beeper beep].
  
  	(ChangeSet named: newName) ifNotNil:
  			[^ Project uiManager inform: 'Sorry that name is already used' translated].
  
  	myChangeSet name: newName.
  	self update.
  	self changed: #mainButtonName.
  	self changed: #relabel.!



More information about the Squeak-dev mailing list