From 2fcc701a5cd12a9c3391738e37bf88de818bd1a4 Mon Sep 17 00:00:00 2001 From: Pierre Laborde Date: Fri, 17 Nov 2023 15:23:08 +0100 Subject: [PATCH] Shortcut name, best space event management --- src/Pyramid/PyramidPluginEditOnRunning.class.st | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Pyramid/PyramidPluginEditOnRunning.class.st b/src/Pyramid/PyramidPluginEditOnRunning.class.st index 526dd881..164e3e42 100644 --- a/src/Pyramid/PyramidPluginEditOnRunning.class.st +++ b/src/Pyramid/PyramidPluginEditOnRunning.class.st @@ -74,8 +74,8 @@ PyramidPluginEditOnRunning class >> install [ PyramidPluginEditOnRunning class >> installBlUniverseListeners [ Beacon instance - when: BlParallelUniverseHostStartRequestSignal - send: #receiveBlParallelUniverseHostSpaceRequestSignal: + when: BlParallelUniverseOpenSpaceRequestSignal + send: #receiveBlParallelUniverseHostSpaceSignal: to: self ] @@ -87,7 +87,7 @@ PyramidPluginEditOnRunning class >> keyCombination [ ] { #category : #'universe management' } -PyramidPluginEditOnRunning class >> receiveBlParallelUniverseHostSpaceRequestSignal: anEvent [ +PyramidPluginEditOnRunning class >> receiveBlParallelUniverseHostSpaceSignal: anEvent [ BlSpace spaceWithId: anEvent spaceId do: [ :e | self addShortcutInSpace: e ] ] @@ -106,6 +106,7 @@ PyramidPluginEditOnRunning class >> shortcut [ ^ shortcut ifNil: [ shortcut := BlShortcutWithAction new + name: 'Pyramid edition shortcut'; combination: self keyCombination; action: [ :event | self doShortcutAction: event ] ] ]