From 2b8560b6a16ab9c328c394c2af20c3d120f4f2ee Mon Sep 17 00:00:00 2001 From: DEMAREY Christophe Date: Thu, 11 Jul 2024 10:28:38 +0200 Subject: [PATCH] rename newCheckBoxFor: to newSwitchFor: --- .../PhLAbstractSettingsPresenter.class.st | 2 +- .../PhLGeneralSettingsPresenter.class.st | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/PharoLauncher-Spec2/PhLAbstractSettingsPresenter.class.st b/src/PharoLauncher-Spec2/PhLAbstractSettingsPresenter.class.st index d018f8e0..302c2835 100644 --- a/src/PharoLauncher-Spec2/PhLAbstractSettingsPresenter.class.st +++ b/src/PharoLauncher-Spec2/PhLAbstractSettingsPresenter.class.st @@ -9,7 +9,7 @@ Class { } { #category : 'instance creation' } -PhLAbstractSettingsPresenter >> newCheckBoxFor: aSettingIdentifier [ +PhLAbstractSettingsPresenter >> newSwitchFor: aSettingIdentifier [ | declaration | declaration := self settings declarationNamed: aSettingIdentifier. diff --git a/src/PharoLauncher-Spec2/PhLGeneralSettingsPresenter.class.st b/src/PharoLauncher-Spec2/PhLGeneralSettingsPresenter.class.st index 214d612f..9600b3b3 100644 --- a/src/PharoLauncher-Spec2/PhLGeneralSettingsPresenter.class.st +++ b/src/PharoLauncher-Spec2/PhLGeneralSettingsPresenter.class.st @@ -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)