[squeak-dev] The Trunk: Morphic-ct.1617.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 24 10:07:48 UTC 2022

Christoph Thiede uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-ct.1617
Author: ct
Time: 12 January 2020, 3:34:20.453555 am
UUID: d75dd5ad-8420-c443-9314-c01d96409fae
Ancestors: Morphic-tpr.1616

Fixes #applyUserInterfaceTheme on SystemProgressMorph really!

Explanation: Resetting the ProgressMorph from the class side is definively bad, because it deletes the progress morph if currently visible. The current instance-side implementation was not reliable either, because if the UniqueInstance is not in world, it cannot apply the new UI theme. Thus we need to override #canApplyUserInterfaceTheme from Morph.

This commit replaces Morphic-ct.1615. See also: http://forum.world.st/SystemProgressMorph-applyUserInterfaceTheme-td5108129.html

=============== Diff against Morphic-tpr.1616 ===============

Item was removed:
- ----- Method: SystemProgressMorph class>>applyUserInterfaceTheme (in category 'preferences') -----
- applyUserInterfaceTheme
- 	self reset.!

Item was added:
+ ----- Method: SystemProgressMorph>>canApplyUserInterfaceTheme (in category 'updating') -----
+ canApplyUserInterfaceTheme
+ 	^ true!

More information about the Squeak-dev mailing list