Skip to content

Commit

Permalink
Merge pull request #22 from zeroflag/21-Adjust-Button-labels-for-Spec…
Browse files Browse the repository at this point in the history
…2-based-Cupboard

Adjust Button labels for Spec2 based Cupboard
  • Loading branch information
zeroflag committed Feb 3, 2023
2 parents b5596e1 + 081d80c commit 993d912
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions source/Teapot-Tools/Cupboard.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -105,25 +105,28 @@ Cupboard >> buildInspectToolBarItem [

{ #category : #initialization }
Cupboard >> buildNewStaticToolBarItem [

^ SpToolbarButtonPresenter new
label: 'New Teapot (serving static)';
icon: self iconProvider teapotServerStaticIcon;
action: [ self onNewStaticServer. self refreshTeapots ];
help: 'Create a new Teapot serving static files';
yourself
label: 'New File Server';
icon: self iconProvider teapotServerStaticIcon;
action: [
self onNewStaticServer.
self refreshTeapots ];
help: 'Create a new Teapot serving static files';
yourself
]

{ #category : #initialization }
Cupboard >> buildNewToolBarItem [

^ SpToolbarButtonPresenter new
label: 'New Teapot';
icon: self iconProvider teapotServerIcon;
action: [ self onNewServer. self refreshTeapots ];
help: 'Create a new Teapot';
yourself

label: 'New Server';
icon: self iconProvider teapotServerIcon;
action: [
self onNewServer.
self refreshTeapots ];
help: 'Create a new Teapot';
yourself
]

{ #category : #initialization }
Expand Down

0 comments on commit 993d912

Please sign in to comment.