[squeak-dev] The Inbox: Monticello-lrnp.757.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Wed Jan 19 09:09:06 UTC 2022


Hi Lauren, hi all --

I will look into this. Monticello tools have only little support to notice changes in their own data structures such as the list of repositories. Well, looking at #reregisterForNotificationsWith:, they at least notice code changes via the SystemChangeNotifier. That's why the asterisk appears correctly after code modifications but not if an undo would revert that change.

Best,
Marcel
Am 15.01.2022 03:20:38 schrieb commits at source.squeak.org <commits at source.squeak.org>:
A new version of Monticello was added to project The Inbox:
http://source.squeak.org/inbox/Monticello-lrnp.757.mcz

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

Name: Monticello-lrnp.757
Author: lrnp
Time: 14 January 2022, 7:20:24.398336 pm
UUID: ab83fd2d-d9ec-4257-ae99-181861139e14
Ancestors: Monticello-ct.756

refresh if repository list shortened

If the repository list was shortened behind the scenes and the UI didn't update, refresh the UI.

=============== Diff against Monticello-ct.756 ===============

Item was changed:
----- Method: MCWorkingCopyBrowser>>repositorySelection: (in category 'morphic ui') -----
repositorySelection: aNumber
+
aNumber = 0
ifTrue: [self repository: nil]
+ ifFalse: [self repository: ([self repositories at: aNumber]
+ on: Error
+ do: [:e |
+ (e messageText startsWith: 'subscript is out of bounds')
+ ifFalse: [e pass]
+ ifTrue: [self loadRepositories. nil]])].
- ifFalse: [self repository: (self repositories at: aNumber)].
self changed: #repositorySelection.
+ self changedButtons.!
- self changedButtons.
- !


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220119/a2bd8b9b/attachment.html>


More information about the Squeak-dev mailing list