gui/tui: Display installation complete step

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This commit is contained in:
Mark D Horn
2019-04-29 19:45:03 -07:00
committed by Mark Horn
parent 6f9b0a8d0c
commit bed70bbb0f
3 changed files with 6 additions and 2 deletions
+5
View File
@@ -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
}
+1 -1
View File
@@ -178,7 +178,7 @@ func (install *InstallPage) ResetChanges() {
_ = network.DownloadInstallerMessage("Post-Installation",
network.PostGuiInstallConf)
}()
utils.Locale.Get("Installation completed")
install.controller.SetButtonState(ButtonQuit, true)
}()
-1
View File
@@ -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)