mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-06 05:31:58 +00:00
gui/tui: Display installation complete step
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This commit is contained in:
@@ -418,6 +418,11 @@ func Install(rootDir string, model *model.SystemInstall, options args.Args) erro
|
||||
prg.Success()
|
||||
}
|
||||
|
||||
msg = utils.Locale.Get("Installation Completed")
|
||||
prg = progress.NewLoop(msg)
|
||||
log.Info(msg)
|
||||
prg.Success()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ func (install *InstallPage) ResetChanges() {
|
||||
_ = network.DownloadInstallerMessage("Post-Installation",
|
||||
network.PostGuiInstallConf)
|
||||
}()
|
||||
utils.Locale.Get("Installation completed")
|
||||
|
||||
install.controller.SetButtonState(ButtonQuit, true)
|
||||
}()
|
||||
|
||||
|
||||
@@ -100,7 +100,6 @@ func (page *InstallPage) Activate() {
|
||||
_ = network.DownloadInstallerMessage("Post-Installation",
|
||||
network.PostInstallConf)
|
||||
}()
|
||||
page.prgLabel.SetTitle("Installation complete")
|
||||
page.rebootBtn.SetEnabled(true)
|
||||
page.exitBtn.SetEnabled(true)
|
||||
clui.ActivateControl(page.GetWindow(), page.rebootBtn)
|
||||
|
||||
Reference in New Issue
Block a user