Skip to content

Commit

Permalink
rename newCheckBoxFor: to newSwitchFor:
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Jul 11, 2024
1 parent e47cf72 commit 2b8560b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Class {
}

{ #category : 'instance creation' }
PhLAbstractSettingsPresenter >> newCheckBoxFor: aSettingIdentifier [
PhLAbstractSettingsPresenter >> newSwitchFor: aSettingIdentifier [
| declaration |

declaration := self settings declarationNamed: aSettingIdentifier.
Expand Down
12 changes: 6 additions & 6 deletions src/PharoLauncher-Spec2/PhLGeneralSettingsPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ PhLGeneralSettingsPresenter >> defaultLayout [
{ #category : 'initialization' }
PhLGeneralSettingsPresenter >> initializePresenters [

clearTemplatesSwitch := self newCheckBoxFor: #templatesClearedOnStartup.
quitOnLaunchSwitch := self newCheckBoxFor: #quitOnLaunch.
launchFromALoginShellSwitch := self newCheckBoxFor: #launchInALoginShell .
warnOnImageArchMisMatchSwitch := self newCheckBoxFor: #warnOnArchMismatch.
checkForTemplateSourcesUpdateSwitch := self newCheckBoxFor: #shouldCheckTemplateSourcesUpdate.
enableDevEnvironmentSwitch := self newCheckBoxFor: #developmentEnvironmentEnabled.
clearTemplatesSwitch := self newSwitchFor: #templatesClearedOnStartup.
quitOnLaunchSwitch := self newSwitchFor: #quitOnLaunch.
launchFromALoginShellSwitch := self newSwitchFor: #launchInALoginShell .
warnOnImageArchMisMatchSwitch := self newSwitchFor: #warnOnArchMismatch.
checkForTemplateSourcesUpdateSwitch := self newSwitchFor: #shouldCheckTemplateSourcesUpdate.
enableDevEnvironmentSwitch := self newSwitchFor: #developmentEnvironmentEnabled.

templateSourcesUrlInput := self newTextInputFor: #sourcesUrl.
sourcesFileLocationInput := (self newTextInputFor: #launcherCoreDirString)
Expand Down

0 comments on commit 2b8560b

Please sign in to comment.