Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-23 11:03:26 -07:00
parent e6e1fec442
commit 5775e40780
4 changed files with 6 additions and 4 deletions

View File

@ -9,12 +9,12 @@ func AddAccountQuestionBox(junk *ui.Box, custom func(int, string)) *ui.Box {
newbox := ui.NewVerticalBox()
newbox.SetPadded(true)
newButton := CreateButton("Create New Account", "CLOSE", custom)
newButton := CreateButton("Create New Account", "DONE", custom)
newbox.Append(newButton, false)
newbox.Append(ui.NewHorizontalSeparator(), false)
okButton := CreateButton("I Have an Account", "CLOSE", custom)
okButton := CreateButton("I Have an Account", "DONE", custom)
newbox.Append(okButton, false)
return newbox

View File

@ -14,7 +14,7 @@ func areaClick(a int, b string) {
func makeSplashArea(custom func(int, string)) *ui.Area {
// make this button just to get the default font (but don't display the button)
// There should be another way to do this (?)
Data.fontButton = CreateFontButton("SplashFont", "CLOSE", custom)
Data.fontButton = CreateFontButton("SplashFont", "DONE", custom)
makeAttributedString()
Data.splashArea = ui.NewArea(myAH)

View File

@ -30,6 +30,8 @@ func makeCloudInfoBox(custom func(int, string)) *ui.Box {
vbox.Append(CreateButton("Add Account", "ADD", custom), false)
vbox.Append(CreateButton("Quit", "QUIT", custom), false)
if (config.String("debugging") == "true") {
addDebuggingButtons(vbox, custom)
}

View File

@ -39,7 +39,7 @@ func ShowSplashBox(vbox *ui.Box, atest chan int, custom func(int, string)) *ui.B
newbox.Append(ui.NewLabel(tmp), false)
}
okButton := CreateButton("OK", "CLOSE", custom)
okButton := CreateButton("OK", "DONE", custom)
newbox.Append(okButton, false)
if (vbox != nil) {