Chris Muller uploaded a new version of Services-Base to project The Trunk:
http://source.squeak.org/trunk/Services-Base-cmm.59.mcz==================== Summary ====================
Name: Services-Base-cmm.59
Author: cmm
Time: 1 August 2016, 2:27:04.61688 pm
UUID: 47d86ec3-8926-4a76-a51b-20c21cd0aae2
Ancestors: Services-Base-mt.58
Fix for selection of ServiceEntry items on menus activated from background windows.
=============== Diff against Services-Base-mt.58 ===============
Item was added:
+ ----- Method: PasteUpMorph>>focusedRequestor (in category '*services-base') -----
+ focusedRequestor
+ "returns the focused window's requestor"
+ ^self submorphs
+ detect: [:ea | ea isSystemWindow and: [ea isLookingFocused]]
+ ifFound: [:ea | ea requestor]
+ ifNone: [Requestor default]!
Item was removed:
- ----- Method: PasteUpMorph>>topRequestor (in category '*services-base') -----
- topRequestor
- "returns the focused window's requestor"
- ^ SystemWindow topWindow requestor!
Item was changed:
----- Method: ServiceAction>>execute (in category 'executing') -----
execute
+ ^ action clone valueWithRequestor: World focusedRequestor!
- ^ action clone valueWithRequestor: World topRequestor!
Item was changed:
----- Method: ServiceAction>>executeCondition (in category 'executing') -----
executeCondition
+ ^ [condition clone valueWithRequestor: World focusedRequestor]
- ^ [condition clone valueWithRequestor: World topRequestor]
on: Error
do: [false]!