Skip to content

Commit

Permalink
Introduce a new About Pharo based on Spec instead of Morphic
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Jan 28, 2025
1 parent f9cc969 commit 9fec3ce
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/NewTools-Core/StPharoSettings.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,29 @@ StPharoSettings class >> defaultToolbarDisplayMode [
^ SpToolbarDisplayMode modeIconAndLabel
]

{ #category : 'world menu' }
StPharoSettings class >> openPharoAbout [

SpInformDialog new
title: 'About Pharo';
icon: (self iconNamed: #pharo);
label: Smalltalk systemInformationString withCRs;
acceptLabel: 'Close';
openDialog
]

{ #category : 'world menu' }
StPharoSettings class >> pharoAboutOn: aBuilder [

<worldMenu>
(aBuilder item: #'About...')
order: 99;
iconName: #smallInfo;
parent: #Help;
help: 'Informations about this version of Pharo.';
action: [ self openPharoAbout ]
]

{ #category : 'settings' }
StPharoSettings class >> settingsOn: aBuilder [
<systemsettings>
Expand Down

0 comments on commit 9fec3ce

Please sign in to comment.