Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1233.mcz
==================== Summary ====================
Name: Morphic-mt.1233
Author: mt
Time: 5 August 2016, 9:23:54.647358 am
UUID: be26790a-5bb5-0e4e-ab1d-7bbf50cd334c
Ancestors: Morphic-mt.1232
Fixes a bug in dialog windows that occured when setting a keyboard shortcut for buttons whose labels begin with the same letters.
=============== Diff against Morphic-mt.1232 ===============
Item was changed:
----- Method: DialogWindow>>registerKeyboardShortcutFor: (in category 'constructing') -----
registerKeyboardShortcutFor: button
"Take the first alpha-numeric character that is not already used as a shortcut, and use it as a shortcut."
(button valueOfProperty: #normalLabel) asString in: [:normalLabel | normalLabel do: [:char |
char isAlphaNumeric ifTrue: [ keyMap
at: char asLowercase
+ ifPresent: [:ea | "Ignore"]
- ifPresent: []
ifAbsent: [
button setProperty: #normalLabel toValue: ('{1} ({2})' format: {normalLabel. char asLowercase}).
button label: (button valueOfProperty: #normalLabel).
^ keyMap at: char asLowercase put: button ] ] ] ]!
Marcel Taeumel uploaded a new version of MorphicTests to project The Trunk:
http://source.squeak.org/trunk/MorphicTests-mt.35.mcz
==================== Summary ====================
Name: MorphicTests-mt.35
Author: mt
Time: 4 August 2016, 1:36:40.325068 pm
UUID: 73892cc3-1745-5e41-8e59-26010520922e
Ancestors: MorphicTests-mt.34
Fixes a test. There are no side-effects in pluggable buttons anymore.
=============== Diff against MorphicTests-mt.34 ===============
Item was changed:
----- Method: MorphicToolBuilderTests>>expectedButtonSideEffects (in category 'support') -----
expectedButtonSideEffects
+ ^#()!
- ^#(getColor getState getEnabled)!
Marcel Taeumel uploaded a new version of MorphicTests to project The Trunk:
http://source.squeak.org/trunk/MorphicTests-mt.34.mcz
==================== Summary ====================
Name: MorphicTests-mt.34
Author: mt
Time: 4 August 2016, 1:34:30.435068 pm
UUID: 3eb4d2c9-273f-054e-8199-367bc3fdf5cc
Ancestors: MorphicTests-mt.33
Fixes a test. Pluggable button's color tests can only work if the state of the button is off. Most of our buttons are in the off state and hence that's what the color defines.
=============== Diff against MorphicTests-mt.33 ===============
Item was added:
+ ----- Method: MorphicToolBuilderTests>>getState (in category 'support') -----
+ getState
+ queries add: #getState.
+ ^false!